Add requirements to setup

go-templates
Anthony Johnson 9 years ago
parent 15f82b4eaf
commit a73a3fca55

@ -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',

Loading…
Cancel
Save