|
| 1 | +import sys |
| 2 | + |
1 | 3 | from setuptools import setup
|
2 | 4 |
|
| 5 | +if sys.version[0] != "2": |
| 6 | + sys.exit( |
| 7 | + "Socks5man currently only supports Python 2.7. 3.5+ is on the roadmap" |
| 8 | + ", but is not supported yet. For now, please install it in the" |
| 9 | + " following way: `pip2 install -U socks5man`." |
| 10 | + ) |
| 11 | + |
3 | 12 | setup(
|
4 | 13 | name="Socks5man",
|
5 |
| - version="0.1", |
| 14 | + version="0.1.0", |
6 | 15 | author="Ricardo van Zutphen",
|
| 16 | + author_email="ricardo@cuckoo.sh", |
7 | 17 | packages=[
|
8 | 18 | "socks5man",
|
9 | 19 | ],
|
| 20 | + classifiers=[ |
| 21 | + "Development Status :: 3 - Alpha", |
| 22 | + "Environment :: Console", |
| 23 | + "Framework :: Pytest", |
| 24 | + "Intended Audience :: Developers", |
| 25 | + "Intended Audience :: Information Technology", |
| 26 | + "Intended Audience :: Science/Research", |
| 27 | + "Intended Audience :: System Administrators", |
| 28 | + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
| 29 | + "Natural Language :: English", |
| 30 | + "Operating System :: POSIX :: Linux", |
| 31 | + "Programming Language :: Python :: 2.7", |
| 32 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 33 | + "Topic :: System :: Systems Administration", |
| 34 | + "Topic :: System :: Monitoring", |
| 35 | + "Topic :: Security", |
| 36 | + ], |
10 | 37 | license="GPLv3",
|
11 | 38 | description="SOCKS5 server management tool and library",
|
| 39 | + long_description=open("README.rst", "rb").read(), |
12 | 40 | include_package_data=True,
|
| 41 | + url="https://socks5man.readthedocs.io", |
13 | 42 | install_requires=[
|
14 | 43 | "PySocks==1.5.7",
|
15 | 44 | "geoip2==2.8.0",
|
16 |
| - "SQLAlchemy==1.2.7", |
| 45 | + "SQLAlchemy>=1.0.8, <=1.2.7", |
17 | 46 | "click==6.6"
|
18 | 47 | ],
|
19 | 48 | python_requires=">=2.7, <3.0",
|
|
22 | 51 | "win-inet-pton==1.0.1",
|
23 | 52 | ],
|
24 | 53 | },
|
| 54 | + tests_require=[ |
| 55 | + "pytest", |
| 56 | + "mock" |
| 57 | + ], |
25 | 58 | entry_points={
|
26 | 59 | "console_scripts": [
|
27 | 60 | "socks5man = socks5man.main:main"
|
|
0 commit comments