b99adecdde
Use 'autobahn[twisted]' just to be sure (plain 'autobahn' worked fine for py27, but maybe it's needed for py35 or something). Autobahn is failing to do some conditional import and accidentally depends upon pytrie (for some encrypted WAMP thing) when we didn't ask for it (https://github.com/crossbario/autobahn-python/issues/604). This commit also adds a manual dependency on pytrie (which is pretty small) until the upstream bug is fixed.
36 lines
1.3 KiB
Python
36 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.blocking",
|
|
"txwormhole",
|
|
"wormhole_cli",
|
|
"wormhole_server"],
|
|
package_data={"wormhole_server": ["db-schemas/*.sql"]},
|
|
entry_points={"console_scripts":
|
|
["wormhole = wormhole_cli.runner:entry",
|
|
"wormhole-server = wormhole_server.runner:entry",
|
|
]},
|
|
install_requires=["spake2==0.3", "pynacl", "requests", "argparse",
|
|
"six", "twisted >= 16.1.0", "hkdf",
|
|
"autobahn[twisted]", "pytrie",
|
|
# autobahn seems to have a bug, and one plugin throws
|
|
# errors unless pytrie is installed
|
|
],
|
|
extras_require={"tor": ["txtorcon", "ipaddr"]},
|
|
test_suite="wormhole.test",
|
|
cmdclass=commands,
|
|
)
|