# The encoding of source files. # source_encoding = 'utf-8-sig' # The master toctree document. master_doc = "index" # General information about the project. project = u"django-middleware-extras" copyright = u"2010, George Notaras" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = get_version() # The full version, including alpha/beta/rc tags. release = get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: # today = '' # Else, today_fmt is used as the format for a strftime call. # today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.
sys.path.insert(0, os.path.abspath("src")) from setuptools import setup from middleware_extras import get_version def read(fname): """Utility function to read the README file.""" return open(os.path.join(os.path.dirname(__file__), fname)).read() if __name__ == "__main__": setup( name="django-middleware-extras", version=get_version(), license="Apache License version 2", author="George Notaras", author_email="gnot [at] g-loaded.eu", maintainer="George Notaras", maintainer_email="gnot [at] g-loaded.eu", url="http://www.codetrax.org/projects/django-middleware-extras", description="django-middleware-extras provides some extra middleware classes that are often needed by Django projects.", long_description=read("README"), download_url="https://source.codetrax.org/hgroot/django-middleware-extras", platforms=["any"], classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers",