-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
49 lines (44 loc) · 1.78 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
import re
from setuptools import find_packages, setup
with open('README.rst', encoding='utf8') as f:
long_description = f.read()
with open('brawlstats/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
requirements = []
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name='brawlstats',
version=version,
description='BrawlStats is an easy-to-use sync and async Python API wrapper'
'to fetch statistics from the official Brawl Stars API',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/SharpBit/brawlstats',
author='SharpBit',
author_email='[email protected]',
license='MIT',
keywords=[
'brawl stars, brawl stats, brawlstats, supercell, python, sync, async, '
'python wrapper, api wrapper, python api wrapper, python 3.9, python 3.10, python 3.11, python 3.12'
],
packages=find_packages(),
install_requires=requirements,
python_requires='>=3.9.0',
project_urls={
'Source Code': 'https://github.com/SharpBit/brawlstats',
'Issue Tracker': 'https://github.com/SharpBit/brawlstats/issues',
'Documentation': 'https://brawlstats.readthedocs.io/en/stable',
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Games/Entertainment :: Real Time Strategy',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Natural Language :: English'
]
)