setup.py: refactor slightly
This commit is contained in:
parent
9a4de44cb0
commit
2d949f23c6
15
setup.py
15
setup.py
|
@ -5,6 +5,12 @@ import versioneer
|
||||||
|
|
||||||
commands = versioneer.get_cmdclass()
|
commands = versioneer.get_cmdclass()
|
||||||
|
|
||||||
|
DEV_REQUIREMENTS = [
|
||||||
|
"mock",
|
||||||
|
"tox",
|
||||||
|
"pyflakes",
|
||||||
|
]
|
||||||
|
|
||||||
setup(name="magic-wormhole",
|
setup(name="magic-wormhole",
|
||||||
version=versioneer.get_version(),
|
version=versioneer.get_version(),
|
||||||
description="Securely transfer data between computers",
|
description="Securely transfer data between computers",
|
||||||
|
@ -34,15 +40,12 @@ setup(name="magic-wormhole",
|
||||||
"hkdf", "tqdm",
|
"hkdf", "tqdm",
|
||||||
"click",
|
"click",
|
||||||
"humanize",
|
"humanize",
|
||||||
|
"ipaddress",
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
':sys_platform=="win32"': ["pypiwin32"],
|
':sys_platform=="win32"': ["pypiwin32"],
|
||||||
"tor": ["txtorcon", "ipaddress"],
|
"tor": ["txtorcon"],
|
||||||
"dev": [
|
"dev": DEV_REQUIREMENTS,
|
||||||
"mock",
|
|
||||||
"tox",
|
|
||||||
"pyflakes",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
test_suite="wormhole.test",
|
test_suite="wormhole.test",
|
||||||
cmdclass=commands,
|
cmdclass=commands,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user