forked from dlenski/vpn-slice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·39 lines (32 loc) · 1.1 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
#!/usr/bin/env python3
import sys, os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info < (3,3):
sys.exit("Python 3.3+ is required; you are using %s" % sys.version)
########################################
version_py = os.path.join('vpn_slice', 'version.py')
d = {}
with open(version_py, 'r') as fh:
exec(fh.read(), d)
version_pep = d['__version__']
########################################
setup(name="vpn-slice",
version=version_pep,
description=("vpnc-script replacement for easy split-tunnel VPN setup"),
long_description=open('description.rst').read(),
author="Daniel Lenski",
author_email="[email protected]",
extras_require={
"setproctitle": ["setproctitle"],
"dnspython": ["dnspython"],
},
install_requires=["setproctitle", "dnspython"],
license='GPL v3 or later',
url="https://github.com/dlenski/vpn-slice",
packages=["vpn_slice"],
include_package_data = True,
entry_points={ 'console_scripts': [ 'vpn-slice=vpn_slice.__main__:main' ] },
)