-
Notifications
You must be signed in to change notification settings - Fork 51
/
setup.py
60 lines (55 loc) · 1.86 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
import setuptools
import re
long_description = ''
with open("README.md", "r") as fh:
long_description = fh.read()
version = ''
with open('fortnitepy/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
requirements = ['aiohttp>=3.3', 'aioxmpp>=0.10.4']
try:
with open('requirements.txt') as f:
requirements = f.read().splitlines()
except FileNotFoundError:
pass
extras_require = {
'docs': [
'sphinxcontrib_trio==1.1.2',
'furo==2021.4.11b34',
'Jinja2<3.1',
]
}
setuptools.setup(
name="fortnitepy",
url="https://github.com/Terbau/fortnitepy",
project_urls={
"Documentation": "https://fortnitepy.readthedocs.io/en/latest/",
"Issue tracker": "https://github.com/Terbau/fortnitepy/issues",
},
version=version,
author="Terbau",
description="Library for interacting with fortnite services",
long_description=long_description,
license='MIT',
long_description_content_type="text/markdown",
install_requires=requirements,
extras_require=extras_require,
packages=['fortnitepy', 'fortnitepy.ext.commands'],
python_requires='>=3.5.3',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
)