2015-03-27 19:50:56 +00:00
|
|
|
import codecs
|
|
|
|
try:
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
extra_setup = dict(
|
2015-04-09 00:14:06 +00:00
|
|
|
install_requires=[
|
|
|
|
'PyYAML',
|
|
|
|
'epyparse',
|
|
|
|
'epydoc',
|
|
|
|
],
|
2015-04-14 22:59:09 +00:00
|
|
|
test_suite='nose.collector',
|
|
|
|
tests_require=['nose', 'mock'],
|
2015-03-27 19:50:56 +00:00
|
|
|
)
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
2015-04-09 00:14:06 +00:00
|
|
|
extra_setup = dict(
|
|
|
|
requires=[
|
|
|
|
'PyYAML',
|
|
|
|
'epyparse',
|
|
|
|
'epydoc',
|
|
|
|
],
|
|
|
|
)
|
2015-03-27 19:50:56 +00:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='sphinx-autoapi',
|
|
|
|
version='0.1.0',
|
|
|
|
author='Eric Holscher',
|
|
|
|
author_email='eric@ericholscher.com',
|
|
|
|
url='http://github.com/ericholscher/sphinx-autoapi',
|
|
|
|
license='BSD',
|
|
|
|
description='',
|
|
|
|
package_dir={'': '.'},
|
|
|
|
packages=find_packages('.'),
|
|
|
|
long_description=codecs.open("README.rst", "r", "utf-8").read(),
|
|
|
|
# trying to add files...
|
|
|
|
include_package_data=True,
|
|
|
|
package_data={
|
|
|
|
'': ['_static/*.js', '_static/*.js_t', '_static/*.css'],
|
|
|
|
},
|
|
|
|
**extra_setup
|
|
|
|
)
|