magic-wormhole/setup.py

48 lines
1.4 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] >= 17.5.0", # 17.5.0 adds failAfterFailures=
"autobahn[twisted] >= 0.14.1",
"automat",
"hkdf",
"tqdm >= 4.13.0", # 4.13.0 fixes crash on NetBSD
"click",
"humanize",
"ipaddress",
"txtorcon >= 0.19.3",
],
extras_require={
':sys_platform=="win32"': ["pypiwin32"],
"dev": ["mock", "tox", "pyflakes"],
},
test_suite="wormhole.test",
cmdclass=commands,
)