38 lines
1.3 KiB
Python
38 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",
|
|
"wormhole.test",
|
|
],
|
|
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,
|
|
)
|