setup.py: refactor slightly

This commit is contained in:
Brian Warner 2017-01-15 16:26:23 -05:00
parent 9a4de44cb0
commit 2d949f23c6

View File

@ -5,6 +5,12 @@ import versioneer
commands = versioneer.get_cmdclass()
DEV_REQUIREMENTS = [
"mock",
"tox",
"pyflakes",
]
setup(name="magic-wormhole",
version=versioneer.get_version(),
description="Securely transfer data between computers",
@ -34,15 +40,12 @@ setup(name="magic-wormhole",
"hkdf", "tqdm",
"click",
"humanize",
"ipaddress",
],
extras_require={
':sys_platform=="win32"': ["pypiwin32"],
"tor": ["txtorcon", "ipaddress"],
"dev": [
"mock",
"tox",
"pyflakes",
],
"tor": ["txtorcon"],
"dev": DEV_REQUIREMENTS,
},
test_suite="wormhole.test",
cmdclass=commands,