Stop using requirements.txt
sphinx-autoapi is redistributable, we should be using setup.py for all of our dependency management, not continuing to split off things into requirements. Included a shortcut in the requirements for installing tox (the only dev requirement) and the package in develop.
This commit is contained in:
parent
fbe58022c5
commit
18ed62b0b2
2 changed files with 8 additions and 13 deletions
|
|
@ -1,9 +1,2 @@
|
|||
pydocstyle==1.0.0
|
||||
PyYAML==3.11
|
||||
wheel==0.24.0
|
||||
sphinx
|
||||
#sphinxcontrib-golangdomain
|
||||
sphinxcontrib-dotnetdomain
|
||||
pytest
|
||||
mock
|
||||
-e .
|
||||
tox
|
||||
|
|
|
|||
12
setup.py
12
setup.py
|
|
@ -4,8 +4,10 @@ try:
|
|||
extra_setup = dict(
|
||||
install_requires=[
|
||||
'PyYAML',
|
||||
'pydocstyle',
|
||||
'wheel==0.24.0',
|
||||
'sphinx',
|
||||
#'sphinxcontrib-golangdomain',
|
||||
'sphinxcontrib-golangdomain',
|
||||
'sphinxcontrib-dotnetdomain',
|
||||
'unidecode',
|
||||
],
|
||||
|
|
@ -17,8 +19,8 @@ except ImportError:
|
|||
extra_setup = dict(
|
||||
requires=[
|
||||
'PyYAML',
|
||||
'epyparse',
|
||||
'epydoc',
|
||||
'pydocstyle',
|
||||
'wheel==0.24.0',
|
||||
'sphinx'
|
||||
'sphinxcontrib-golangdomain',
|
||||
'sphinxcontrib-dotnetdomain',
|
||||
|
|
@ -31,9 +33,9 @@ setup(
|
|||
version='0.3.0',
|
||||
author='Eric Holscher',
|
||||
author_email='eric@ericholscher.com',
|
||||
url='http://github.com/ericholscher/sphinx-autoapi',
|
||||
url='http://github.com/rtfd/sphinx-autoapi',
|
||||
license='BSD',
|
||||
description='',
|
||||
description='Sphinx auto API documentation generator',
|
||||
package_dir={'': '.'},
|
||||
packages=find_packages('.'),
|
||||
long_description=codecs.open("README.rst", "r", "utf-8").read(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue