import categories import os try: long_description = open('README.rst').read() except IOError: long_description = '' try: reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read() except (IOError, OSError): reqs = '' setup(name='django-categories', version=categories.get_version(), description= 'A way to handle one or more hierarchical category trees in django.', long_description=long_description, author='Corey Oordt', author_email='*****@*****.**', include_package_data=True, url='http://github.com/washingtontimes/django-categories', packages=find_packages(), classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', ], install_requires=reqs, dependency_links=[])
# The encoding of source files. # ource_encoding = 'utf-8' # The master toctree document. master_doc = 'index' # General information about the project. project = 'Django Categories' copyright = '2010-2012, Corey Oordt' # 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 = categories.get_version(short=True) # The full version, including alpha/beta/rc tags. release = categories.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # anguage = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: # oday = '' # Else, today_fmt is used as the format for a strftime call. # oday_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. # nused_docs = []
from setuptools import setup, find_packages import categories import os try: long_description = open('README.rst').read() except IOError: long_description = '' try: reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read() except (IOError, OSError): reqs = '' setup( name='django-categories', version=categories.get_version(), description='A way to handle one or more hierarchical category trees in django.', long_description=long_description, author='Corey Oordt', author_email='*****@*****.**', include_package_data=True, url='http://github.com/callowayproject/django-categories', packages=find_packages(), classifiers=[ 'Framework :: Django', ], install_requires = reqs, dependency_links = [] )
# The encoding of source files. #source_encoding = 'utf-8' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Django Categories' copyright = u'2010, CoreyOordt' # 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 = categories.get_version() # The full version, including alpha/beta/rc tags. release = categories.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 = []