1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
from setuptools import setup
import versioneer
commands = versioneer.get_cmdclass()
trove_classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security :: Cryptography",
"Topic :: System :: Networking",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
setup(name="magic-wormhole",
version=versioneer.get_version(),
description="Securely transfer data between computers",
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
author="Brian Warner",
author_email="warner-magic-wormhole@lothar.com",
license="MIT",
url="https://github.com/warner/magic-wormhole",
classifiers=trove_classifiers,
package_dir={"": "src"},
packages=["wormhole",
"wormhole.cli",
"wormhole._dilation",
"wormhole.test",
"wormhole.test.dilate",
],
data_files=[(".", ["wormhole_complete.bash", "wormhole_complete.zsh", "wormhole_complete.fish"])],
entry_points={
"console_scripts":
[
"wormhole = wormhole.cli.cli:wormhole",
]
},
install_requires=[
"spake2==0.9", "pynacl",
"attrs >= 19.2.0", # 19.2.0 replaces cmp parameter with eq/order
"twisted[tls] >= 17.5.0", # 17.5.0 adds failAfterFailures=
"autobahn[twisted] >= 0.14.1",
"automat",
"cryptography",
"tqdm >= 4.13.0", # 4.13.0 fixes crash on NetBSD
"click",
"humanize",
"txtorcon >= 18.0.2", # 18.0.2 fixes py3.4 support
"zipstream-ng >= 1.7.1, <2.0.0",
"iterable-io >= 1.0.0, <2.0.0",
"qrcode >= 8.0",
],
extras_require={
':sys_platform=="win32"': ["pywin32"],
"dev": ["tox", "pyflakes",
"magic-wormhole-transit-relay==0.3.1",
"magic-wormhole-mailbox-server==0.3.1"],
"dilate": ["noiseprotocol"],
"build": ["twine", "dulwich", "readme_renderer", "gpg", "wheel"],
},
test_suite="wormhole.test",
cmdclass=commands,
)
|