bc908ef07e
* To avoid an incompatible patch that landed in Twisted trunk after the 16.1.1 release, autobahn pinned their requirement on Twisted to be <=16.1.1 . However Twisted reverted the patch before making a release. The new 16.2.0 is fine. Since autobahn has this pin, and since pip doesn't do full dependency resolution, I must add the pin too, so that 'pip install magic-wormhole' can work. I plan to remove this pin as soon as autobahn does the same upstream. https://github.com/crossbario/autobahn-python/issues/680 * A previous version of autobahn had a bug where it tried to import something that wasn't actually depended upon, exposed by having pynacl installed. Installing 'pytrie' manually fixed it. This doesn't seem to be a problem anymore, so I'm removing the manual dependency.
37 lines
1.2 KiB
Python
37 lines
1.2 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",
|
|
"wormhole.twisted",
|
|
],
|
|
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", "argparse",
|
|
"six",
|
|
"twisted==16.1.1", # since autobahn pins it
|
|
"autobahn[twisted]",
|
|
"hkdf", "tqdm",
|
|
],
|
|
extras_require={"tor": ["txtorcon", "ipaddr"]},
|
|
test_suite="wormhole.test",
|
|
cmdclass=commands,
|
|
)
|