-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
93 lines (82 loc) · 3.07 KB
/
setup.py
File metadata and controls
93 lines (82 loc) · 3.07 KB
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
# SPDX-License-Identifier: MIT
# Copyright © 2022 André "Oatspear" Santos
###############################################################################
# Imports
###############################################################################
from pathlib import Path
from setuptools import find_packages, setup
###############################################################################
# Constants
###############################################################################
PROJECT = 'pokewatcher'
PYTHON_PKG = 'pokewatcher'
HERE = Path(__file__).parent
###############################################################################
# Utility
###############################################################################
def read(filename):
# Utility function to read the README, etc..
# Used for the long_description and other fields.
return (HERE / filename).read_text(encoding='utf-8')
###############################################################################
# Setup
###############################################################################
setup(
name=PROJECT,
use_scm_version={
'version_scheme': 'no-guess-dev',
'local_scheme': 'dirty-tag',
'fallback_version': '0.1.0',
},
description='Runtime monitoring of Pokémon playthroughs.',
long_description=read('README.md'),
long_description_content_type='text/markdown',
url=f'https://github.com/oatspear/{PROJECT}',
author='Oatspear',
author_email='oatspear@gmail.com',
license='MIT',
keywords='pokemon, runtime monitoring',
packages=find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
package_data={}, # {PYTHON_PKG: ['dir/*.file']},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Games/Entertainment',
'Topic :: Games/Entertainment :: Role-Playing',
'Topic :: Games/Entertainment :: Turn Based Strategy',
'Topic :: Software Development',
'Topic :: Utilities',
],
entry_points={
'console_scripts': [f'{PROJECT}={PYTHON_PKG}.cli:main'],
},
python_requires='>=3.8, <4',
install_requires=[
'attrs>=22.0',
'pyyaml>=5.3.1',
'requests>=2.28',
'signalrcore<=1.0',
'simpleobsws>=1.0',
'websockets>=10.0',
],
extras_require={
'dev': ['pytest', 'tox'],
},
zip_safe=False,
project_urls={
'Source': f'https://github.com/oatspear/{PROJECT}/',
'Tracker': f'https://github.com/oatspear/{PROJECT}/issues',
# 'Say Thanks!': 'http://saythanks.io/to/oatspear',
},
)