forked from eduvpn/python-eduvpn-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
99 lines (91 loc) · 3.25 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# python-eduvpn-client - The GNU/Linux eduVPN client and Python API
#
# Copyright: 2017, The Commons Conservancy eduVPN Programme
# SPDX-License-Identifier: GPL-3.0+
from setuptools import setup, find_packages
__version__ = "1.0.2"
install_requires = [
'requests',
'pynacl',
'requests_oauthlib',
'future',
'python-dateutil',
'six',
'repoze.lru',
'qrcode',
'pillow',
'cryptography',
'typing',
]
# sometimes the dbus-python package is not properly registered, triggering a
# reinstall and compile
extras_require = {
'client': ['dbus-python', 'pygobject'],
'test-online': ['mechanicalsoup', 'futures'],
'docs': ['sphinx', 'mock', 'sphinx_rtd_theme', 'future' ,'repoze.lru', 'six'],
}
data_files = [
('share/applications', ['share/applications/eduvpn-client.desktop']),
('share/eduvpn', [
'share/eduvpn/eduvpn.png',
'share/eduvpn/institute.png',
'share/eduvpn/institute_small.png',
'share/eduvpn/internet.png',
'share/eduvpn/internet_small.png',
]),
('share/eduvpn/builder', [
'share/eduvpn/builder/2fa.ui',
'share/eduvpn/builder/connection_type.ui',
'share/eduvpn/builder/custom_url.ui',
'share/eduvpn/builder/fetch.ui',
'share/eduvpn/builder/instances.ui',
'share/eduvpn/builder/profiles.ui',
'share/eduvpn/builder/redirecturl.ui',
'share/eduvpn/builder/token.ui',
'share/eduvpn/builder/totp_enroll.ui',
'share/eduvpn/builder/window.ui',
'share/eduvpn/builder/yubi_enroll.ui',
]),
('share/icons/hicolor/48x48/apps', ['share/icons/hicolor/48x48/apps/eduvpn-client.png']),
('share/icons/hicolor/128x128/apps', ['share/icons/hicolor/128x128/apps/eduvpn-client.png']),
('share/icons/hicolor/256x256/apps', ['share/icons/hicolor/256x256/apps/eduvpn-client.png']),
('share/icons/hicolor/512x512/apps', ['share/icons/hicolor/512x512/apps/eduvpn-client.png']),
]
setup(
name="eduvpn_client",
version=__version__,
packages=find_packages(),
data_files=data_files,
install_requires=install_requires,
extras_require=extras_require,
author="Gijs Molenaar",
author_email="[email protected]",
description="eduVPN client",
license="GPL3",
setup_requires=['pytest-runner'],
tests_require=['pytest', 'mock'],
test_suite="tests",
keywords="vpn openvpn networking security",
url="https://github.com/eduvpn/python-eduvpn-client",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: System :: Operating System Kernels :: Linux",
"Topic :: System :: Networking",
"Environment :: X11 Applications",
],
entry_points={
'gui_scripts': [
'eduvpn-client = eduvpn.main:main_eduvpn',
]
}
)