Source

django-repose / setup.py

from setuptools import setup
VERSION = open('repose/VERSION').read().strip()

try:
    import subprocess
    subprocess.call(["pandoc", "README.txt", "-t", "rst", "-o" "README.rst"])
except:
    pass

setup(
    name = "django-repose",
    version = VERSION,
    description = "Form-based RESTful interface for Django sites.",
    long_description = open("README.rst").read(),
    url = "http://bitbucket.org/schinckel/repose/",
    author = "Matthew Schinckel",
    author_email = "matt@schinckel.net",
    packages = [
        "repose",
    ],
    include_package_data=True
)