# The master toctree document. master_doc = 'index' # General information about the project. project = u'MassMedia' copyright = u'2009-2010, The Washington Times' # 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. import massmedia version = "%d.%d.%d" % (massmedia.__version_info__['major'], massmedia.__version_info__['minor'], massmedia.__version_info__['micro']) # The full version, including alpha/beta/rc tags. release = massmedia.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 documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched
copyright = u"2009-2010, The Washington Times" # 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. import massmedia version = "%d.%d.%d" % ( massmedia.__version_info__["major"], massmedia.__version_info__["minor"], massmedia.__version_info__["micro"], ) # The full version, including alpha/beta/rc tags. release = massmedia.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 documents that shouldn't be included in the build. # unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched
#!/usr/bin/env python import os from setuptools import setup import massmedia try: long_desc = open(os.path.join(os.path.dirname(__file__), "README")).read() except (IOError, OSError): long_desc = "" try: reqs = open(os.path.join(os.path.dirname(__file__), "requirements.txt")).read() except (IOError, OSError): reqs = "" setup( name="django-massmedia", version=massmedia.get_version(), url="http://github.com/washingtontimes/django-massmedia", author="Justin Quick", author_email="*****@*****.**", description="Allows for site staff can upload and edit the media files through the site, and the filesystem is maintained in the background.", long_description=long_desc, packages=["massmedia", "massmedia.templatetags", "massmedia.management", "massmedia.management.commands"], package_data={ "massmedia": ["templates/*.html", "templates/*/*.html", "templates/*/*/*.html", "templates/*/*/*/*.html"] }, include_package_data=True, install_requires=reqs, )