|
|
@ -13,7 +13,7 @@ with io.open('README.rst', encoding='utf-8') as readme: |
|
|
|
needs_pytest = {'pytest', 'test'}.intersection(sys.argv) |
|
|
|
needs_pytest = {'pytest', 'test'}.intersection(sys.argv) |
|
|
|
pytest_runner = ['pytest_runner'] if needs_pytest else [] |
|
|
|
pytest_runner = ['pytest_runner'] if needs_pytest else [] |
|
|
|
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv) |
|
|
|
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv) |
|
|
|
sphinx = ['sphinx'] if needs_sphinx else [] |
|
|
|
sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else [] |
|
|
|
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv) |
|
|
|
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv) |
|
|
|
wheel = ['wheel'] if needs_wheel else [] |
|
|
|
wheel = ['wheel'] if needs_wheel else [] |
|
|
|
|
|
|
|
|
|
|
|