forked from genotrance/px
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (63 loc) · 2 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
67
from setuptools import setup
import os.path
version = ""
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "px.py")) as f:
for line in f.readlines():
if "__version__" in line:
version = line.strip().replace('"', '').split()[-1]
break
long_description = ""
with open(os.path.join(here, "README.txt")) as f:
long_description = f.read().split("\n\n")[0].replace("\n", " ")
setup(
name = "px-proxy",
version = version,
description = "An HTTP proxy server to automatically authenticate through an NTLM proxy",
long_description = long_description,
url = "https://github.com/genotrance/px",
author = "Ganesh Viswanathan",
author_email = "dev@genotrance.com",
platforms = "Windows",
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: Proxy Servers"
],
keywords = "proxy ntlm kerberos",
py_modules = ["px"],
install_requires = [
'futures;python_version<"3.0"',
"netaddr",
"psutil",
"winkerberos"
],
data_files = [
("lib/site-packages/px-proxy", [
"HISTORY.txt",
"LICENSE.txt",
"README.txt",
"px.ico",
"px.ini"
])
],
entry_points = {
"console_scripts": [
"px=px:main"
]
},
project_urls = {
"Bug Reports": "https://github.com/genotrance/px/issues",
"Source": "https://github.com/genotrance/px"
}
)