-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
61 lines (57 loc) · 1.77 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
from setuptools import setup #, find_packages
from pathlib import Path
from re import search
base_path = Path(__file__).parent
repo_url = 'https://github.com/KillerBOSS2019/TouchPortal-API/'
home_url = repo_url
docs_url = 'https://KillerBOSS2019.github.io/TouchPortal-API/'
long_description = (base_path / "README.md").read_text("utf8")
api_version = search(
r'__version__ = "(.+?)"', (base_path / "TouchPortalAPI" / "__init__.py").read_text("utf8")
).group(1)
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Operating System :: MacOS',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
]
setup(
name = 'touchportal_api',
version = api_version,
description = 'Touch Portal API and SDK for Python',
long_description = long_description,
long_description_content_type = "text/markdown",
url = home_url,
project_urls = {
'Documentation': docs_url,
'Source': repo_url,
'Issues': repo_url + "issues",
},
author = 'Damien',
author_email= '[email protected]',
license = 'GPLv3+',
classifiers = classifiers,
keywords = 'TouchPortal, Touch Portal, API, Plugin, SDK',
packages = ['TouchPortalAPI'],
python_requires = '>=3.8',
install_requires = [
'pyee',
'requests'
],
extras_require = {
'dev': [
'pdoc',
],
'optional': [
'Pyinstaller',
]
},
entry_points = {
'console_scripts': ['tppsdk=TouchPortalAPI.sdk_tools:main', 'tppbuild=TouchPortalAPI.tppbuild:main', 'tppdoc=TouchPortalAPI.tppdoc:main']
}
)