forked from JinnLynn/genpac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·32 lines (30 loc) · 940 Bytes
/
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
from setuptools import setup
def get_version():
with open('genpac/core.py') as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
setup(
name='genpac',
version=get_version(),
description='convert gfwlist to pac, custom rules supported.',
long_description=open('README.rst', 'r').read(),
author='JinnLynn',
author_email='[email protected]',
url='https://github.com/JinnLynn/genpac',
packages=['genpac', 'genpac.pysocks'],
package_data={
'genpac': ['res/*']
},
entry_points={
'console_scripts': 'genpac=genpac:main'
},
license='MIT',
keywords='proxy pac gfwlist gfw',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
)