-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (44 loc) · 1.48 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (44 loc) · 1.48 KB
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
import codecs
import sys
from setuptools import setup
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
if str(sys.version_info.major) == '2':
print("WARNING! ArkC Client is recommended to be installed with Python3.")
quit()
else:
pkg_name = 'arkcclient'
pkg = ['arkcclient', 'arkcclient.pyotp']
pkg_data = {
'arkcserver': ['README.md', 'LICENSE'],
'arkcclient.pyotp': ['LICENSE']
}
required = ['ntplib', 'pycrypto','dnslib', 'requests', 'miniupnpc']
entry = """
[console_scripts]
arkcclient = arkcclient.main:main
"""
categories = [
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: Proxy Servers',
]
setup(
name=pkg_name,
version="0.4.0.alpha1",
license='https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt',
description="A lightweight proxy designed to be proof to IP blocking measures",
author='Noah, Teba, Ddeerreekk',
author_email='noah@arkc.org',
url='https://arkc.org',
packages=pkg,
package_data=pkg_data,
install_requires=required,
entry_points=entry,
classifiers=categories,
long_description=long_description,
)