|
|
@ -2,11 +2,21 @@ import codecs
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
extra_setup = dict(
|
|
|
|
extra_setup = dict(
|
|
|
|
install_requires=['pyyaml'],
|
|
|
|
install_requires=[
|
|
|
|
|
|
|
|
'PyYAML',
|
|
|
|
|
|
|
|
'epyparse',
|
|
|
|
|
|
|
|
'epydoc',
|
|
|
|
|
|
|
|
],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
except ImportError:
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
from distutils.core import setup
|
|
|
|
extra_setup = {}
|
|
|
|
extra_setup = dict(
|
|
|
|
|
|
|
|
requires=[
|
|
|
|
|
|
|
|
'PyYAML',
|
|
|
|
|
|
|
|
'epyparse',
|
|
|
|
|
|
|
|
'epydoc',
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
setup(
|
|
|
|
name='sphinx-autoapi',
|
|
|
|
name='sphinx-autoapi',
|
|
|
|