This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
66 lines (60 loc) · 1.98 KB
/
setup.py
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
import os.path
from setuptools import setup, find_packages
def get_version():
with open(os.path.join("bwscanner", "__init__.py")) as f:
for line in f:
if "__version__" in line.strip():
version = line.split("=", 1)[1].strip().strip('"')
return version
__version__ = get_version()
__author__ = 'aagbsn'
__contact__ = '[email protected]'
__url__ = 'https://github.com/TheTorProject/bwscanner' # TODO: publish this
__license__ = 'GPL'
__copyright__ = ''
setup(name='bwscanner', # TODO: pick a better name
version=__version__,
description='Tor Bandwidth Scanner',
long_description=__doc__,
keywords=['python', 'twisted', 'txtorcon', 'tor', 'metrics'],
install_requires=[
"click",
"pyOpenSSL>=17.5.0",
"service-identity==16.0.0",
"stem>=1.4.0",
"Twisted>=16.2.0",
# Need 0.20 at least to use web_agent
"txtorcon>=0.20.0",
],
classifiers=[
'Framework :: Twisted',
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPL License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Networking',
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet',
'Topic :: Security',
'Topic :: Utilities'],
author=__author__,
author_email=__contact__,
url=__url__,
license=__license__,
packages=find_packages(),
extras_require={
'dev': ['ipython', 'pyflakes', 'pep8'],
'test': ['tox', 'pytest'],
'doc': ['sphinx', 'pylint']
},
python_requires=">=2.7",
# data_files = [('path', ['filename'])]
data_files=[],
entry_points={
"console_scripts": [
'bwscan = bwscanner.scanner:cli',
]},
)