Remove support for building docs, now that docs support for pypi is deprecated. I hope at some point RTD comes up with an API that once again allows automatic building of docs.
This commit is contained in:
@@ -12,9 +12,7 @@ with io.open('README.rst', encoding='utf-8') as readme:
|
||||
|
||||
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
|
||||
pytest_runner = ['pytest_runner'] if needs_pytest else []
|
||||
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
|
||||
sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
|
||||
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
|
||||
needs_wheel = {'release', 'bdist_wheel', 'dists'}.intersection(sys.argv)
|
||||
wheel = ['wheel'] if needs_wheel else []
|
||||
|
||||
name = 'skeleton'
|
||||
@@ -37,7 +35,7 @@ setup_params = dict(
|
||||
},
|
||||
setup_requires=[
|
||||
'setuptools_scm>=1.9',
|
||||
] + pytest_runner + sphinx + wheel,
|
||||
] + pytest_runner + wheel,
|
||||
tests_require=[
|
||||
'pytest>=2.8',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user