[998] | 1 | # -*- coding: utf-8 -*- |
---|
| 2 | |
---|
| 3 | from ez_setup import use_setuptools |
---|
| 4 | use_setuptools() |
---|
| 5 | from setuptools import setup, find_packages |
---|
| 6 | |
---|
[1036] | 7 | short_desc = 'Sphinx "specdomain" extension' |
---|
| 8 | long_desc = short_desc + '\n'*2 + open('README').read() |
---|
[998] | 9 | |
---|
[1010] | 10 | version = open('VERSION').read().strip() |
---|
[998] | 11 | |
---|
| 12 | requires = ['Sphinx>=0.6'] |
---|
| 13 | |
---|
[999] | 14 | # classifiers: http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
| 15 | |
---|
[998] | 16 | setup( |
---|
| 17 | name='sphinxcontrib-specdomain', |
---|
| 18 | version=version, |
---|
[1036] | 19 | url='http://subversion.xray.aps.anl.gov/admin_bcdaext/specdomain', |
---|
[999] | 20 | #'http://bitbucket.org/birkenfeld/sphinx-contrib', |
---|
[998] | 21 | #download_url='http://pypi.python.org/pypi/sphinxcontrib-specdomain', |
---|
| 22 | license='Argonne OPEN SOURCE LICENSE, see LICENSE file for details', |
---|
| 23 | author='Pete Jemian', |
---|
| 24 | author_email='jemian@anl.gov', |
---|
[1036] | 25 | description=short_desc, |
---|
[998] | 26 | long_description=long_desc, |
---|
| 27 | zip_safe=False, |
---|
| 28 | classifiers=[ |
---|
[1039] | 29 | 'Development Status :: 5 - Production/Stable', |
---|
[998] | 30 | 'Environment :: Console', |
---|
| 31 | 'Environment :: Web Environment', |
---|
[1032] | 32 | 'Intended Audience :: Science/Research', |
---|
[999] | 33 | 'License :: Free To Use But Restricted', |
---|
[998] | 34 | 'Operating System :: OS Independent', |
---|
| 35 | 'Programming Language :: Python', |
---|
| 36 | 'Topic :: Documentation', |
---|
| 37 | 'Topic :: Utilities', |
---|
| 38 | ], |
---|
| 39 | platforms='any', |
---|
[1036] | 40 | packages=find_packages(exclude=['comparison', 'macros', 'test', 'doc', 'markup_example', ]), |
---|
[998] | 41 | include_package_data=True, |
---|
| 42 | install_requires=requires, |
---|
| 43 | namespace_packages=['sphinxcontrib'], |
---|
| 44 | ) |
---|