magic-wormhole/setup.py
Brian Warner 805e07cd97 setup.py: extras=dev requires txtorcon on both py2 and py3
We used to avoid this on py3, but now that txtorcon (0.19.2) is compatible
with it, we can use it on both. This also means tests can rely on having
txtorcon available.
2017-05-24 16:48:00 -07:00

47 lines
1.3 KiB
Python

from setuptools import setup
import versioneer
commands = versioneer.get_cmdclass()
setup(name="magic-wormhole",
version=versioneer.get_version(),
description="Securely transfer data between computers",
author="Brian Warner",
author_email="warner-magic-wormhole@lothar.com",
license="MIT",
url="https://github.com/warner/magic-wormhole",
package_dir={"": "src"},
packages=["wormhole",
"wormhole.cli",
"wormhole.server",
"wormhole.test",
],
package_data={"wormhole.server": ["db-schemas/*.sql"]},
entry_points={
"console_scripts":
[
"wormhole = wormhole.cli.cli:wormhole",
"wormhole-server = wormhole.server.cli:server",
]
},
install_requires=[
"spake2==0.7", "pynacl",
"six",
"twisted[tls]",
"autobahn[twisted] >= 0.14.1",
"automat",
"hkdf", "tqdm",
"click",
"humanize",
"ipaddress",
],
extras_require={
':sys_platform=="win32"': ["pypiwin32"],
"tor": ["txtorcon >= 0.19.2"],
"dev": ["mock", "tox", "pyflakes", "txtorcon >= 0.19.2"],
},
test_suite="wormhole.test",
cmdclass=commands,
)