-
Notifications
You must be signed in to change notification settings - Fork 198
/
setup.py
61 lines (54 loc) · 1.66 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
"""setup.py: setuptools control."""
import re
import os
from setuptools import setup
try:
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:
long_descr = '\n' + f.read()
except FileNotFoundError:
long_descr = """
The official Linux CLI for ProtonVPN.
For further information and a usage guide, please view the project page:
https://github.com/ProtonVPN/linux-cli
"""
version = re.search(
r'(VERSION = "(\d.\d.\d+)")',
open("protonvpn_cli/constants.py").read(),
re.M
).group(2)
setup(
name="protonvpn_cli",
packages=["protonvpn_cli"],
entry_points={
"console_scripts": ["protonvpn = protonvpn_cli.cli:main"]
},
version=version,
description="Linux command-line client for ProtonVPN",
long_description=long_descr,
author="Proton Technologies AG",
author_email="[email protected]",
license="GPLv3",
url="https://github.com/protonvpn/linux-cli-community",
package_data={
"protonvpn_cli": ["templates/*"]
},
install_requires=[
"requests",
"docopt",
"pythondialog",
"jinja2",
"distro",
],
python_requires=">=3.5",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)