-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·63 lines (58 loc) · 1.74 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
#!/usr/bin/env python
from setuptools import setup
from qopenvpn.version import __version__
setup_cmdclass = {}
# Allow compilation of Qt .qrc, .ui and .ts files (build_qt command)
try:
from setup_qt import build_qt
setup_cmdclass['build_qt'] = build_qt
except ImportError:
pass
setup(
name="QOpenVPN",
version=__version__,
description="Simple OpenVPN GUI written in PyQt for systemd based distributions",
long_description=open('README.rst').read(),
author="Michal Krenek (Mikos)",
author_email="m.krenek@gmail.com",
url="https://github.com/xmikos/qopenvpn",
license="GNU GPLv3",
packages=["qopenvpn"],
package_data={
"qopenvpn": [
"openvpn.svg",
"openvpn_disabled.svg",
"*.ui",
"languages/*.qm",
"languages/*.ts",
],
},
data_files=[
("share/applications", ["qopenvpn.desktop"]),
("share/pixmaps", ["qopenvpn.png"]),
],
entry_points={
"gui_scripts": [
"qopenvpn=qopenvpn.__main__:main",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Security :: Cryptography",
"Topic :: System :: Networking",
],
options={
'build_qt': {
'packages': ['qopenvpn'],
'languages': ['cs'],
},
},
cmdclass=setup_cmdclass,
)