Readability improvements for setup.py, include twine in deploy extra; pip flags for docs-reqs.

pull/1931/head
Kieran Prasch 2020-04-24 19:16:18 -07:00 committed by Kieran R. Prasch
parent ec4d617a54
commit 347cb60f51
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,4 @@
-i https://pypi.python.org/simple
alabaster==0.7.12
Babel==2.8.0
certifi==2020.4.5.1

View File

@ -91,7 +91,7 @@ class PostDevelopCommand(develop):
subprocess.call(".circleci/install_circle_cli.sh")
#
# Dependencies
# Requirements
#
@ -111,7 +111,8 @@ BENCHMARK_REQUIRES = [
DEPLOY_REQUIRES = [
'bumpversion',
'ansible'
'ansible',
'twine'
]
EXTRAS = {
@ -136,13 +137,15 @@ setup(
# Entry Points
entry_points={'console_scripts': [
f'{PACKAGE_NAME} = {PACKAGE_NAME}.cli.main:nucypher_cli',
f'{PACKAGE_NAME}-deploy = {PACKAGE_NAME}.cli.commands.deploy:deploy',
'nucypher = nucypher.cli.main:nucypher_cli',
'nucypher-deploy = nucypher.cli.commands.deploy:deploy',
]},
# Utilities
cmdclass={'verify': VerifyVersionCommand,
'develop': PostDevelopCommand},
cmdclass={
'verify': VerifyVersionCommand,
'develop': PostDevelopCommand
},
# Metadata
name=ABOUT['__title__'],