68ce54ad3a
I should have added this when I switched to the new state machines, since they definitely depend on attrs. The only reason this worked at all was that some subdependency was also depending upon attrs. We need at least 16.3.0, since we use __attrs_post_init__, and that feature wasn't included in attrs-16.2.0 or earlier. Closess #248
49 lines
1.4 KiB
Python
49 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",
|
|
"attrs >= 16.3.0", # 16.3.0 adds __attrs_post_init__
|
|
"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,
|
|
)
|