-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (46 loc) · 1.68 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (46 loc) · 1.68 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
49
50
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':
pkg_name = 'arkcserver'
pkg = ['arkcserver', 'arkcserver.pyotp', 'arkcserver.twisted_connect_proxy', 'arkcserver.mailcheck']
pkg_data = {
'arkcclient': ['README.md', 'LICENSE'],
'arkcserver.pytop': ['LICENSE'],
'arkcserver.twisted_connect_proxy': ['LICENSE']
}
required = ['ntplib', 'twisted','pycrypto','txsocksx','dnslib', 'psutil', 'ipaddress']
entry = """
[console_scripts]
arkcserver = arkcserver.main:main
arkcserver-mailcheck = arkcserver.mailcheck.main:main
"""
categories = [
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2 :: Only',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: Proxy Servers',
]
else:
print("FATAL: ArkC Server 0.2 must be installed with Python2 for compatibility.")
quit()
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, Tsre',
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,
)