8e456dea5e
We used to use twisted.python.usage.Options, hence we depended upon Twisted. Now we depend upon "argparse" instead, which is in the py2.7 stdlib (and on pypi for 2.6). This package will still (eventually) provide Twisted support, but applications which need it will already express a dependency on twisted themselves, so by removing the dependency here, we make life easier for applications that don't use it.
30 lines
992 B
Python
30 lines
992 B
Python
|
|
from setuptools import setup
|
|
|
|
import versioneer
|
|
versioneer.VCS = "git"
|
|
versioneer.versionfile_source = "src/wormhole/_version.py"
|
|
versioneer.versionfile_build = "wormhole/_version.py"
|
|
versioneer.tag_prefix = ""
|
|
versioneer.parentdir_prefix = "wormhole-sync"
|
|
|
|
commands = versioneer.get_cmdclass()
|
|
|
|
setup(name="wormhole-sync",
|
|
version=versioneer.get_version(),
|
|
description="Securely transfer data between computers",
|
|
author="Brian Warner",
|
|
author_email="warner-wormholesync@lothar.com",
|
|
license="MIT",
|
|
url="https://github.com/warner/wormhole-sync",
|
|
package_dir={"": "src"},
|
|
packages=["wormhole",
|
|
"wormhole.blocking", "wormhole.scripts",
|
|
"wormhole.test", "wormhole.util"],
|
|
entry_points={"console_scripts":
|
|
["wormhole = wormhole.scripts.runner:entry"]},
|
|
install_requires=["spake2", "pynacl", "requests", "argparse"],
|
|
test_suite="wormhole.test",
|
|
cmdclass=commands,
|
|
)
|