forked from OpenXbox/xbox-webapi-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (71 loc) · 2.23 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
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
from setuptools import find_packages, setup
PACKAGES = [f"xbox.{p}" for p in find_packages(where="xbox")]
setup(
name="xbox-webapi",
version="2.0.11",
author="OpenXbox",
description="A library to authenticate with Windows Live/Xbox Live and use their API",
long_description=open("README.md").read() + "\n\n" + open("CHANGELOG.md").read(),
long_description_content_type="text/markdown",
license="GPL",
keywords="xbox one live api",
url="https://github.com/OpenXbox/xbox-webapi-python",
packages=PACKAGES,
namespace_packages=["xbox"],
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
test_suite="tests",
install_requires=[
"httpx",
"appdirs",
"ms_cv",
"pydantic",
"ecdsa",
],
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-cov", "pytest-asyncio", "respx"],
extras_require={
"dev": [
"pip",
"bump2version",
"wheel",
"watchdog",
"flake8",
"tox",
"coverage",
# PyPi
"twine",
# Tests
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-runner",
],
"docs": [
"Sphinx",
"sphinx_rtd_theme",
"sphinx-mdinclude",
],
},
entry_points={
"console_scripts": [
"xbox-authenticate=xbox.webapi.scripts.authenticate:main",
"xbox-xal=xbox.webapi.scripts.xal:main",
"xbox-searchlive=xbox.webapi.scripts.search:main",
"xbox-change-gt=xbox.webapi.scripts.change_gamertag:main",
"xbox-friends=xbox.webapi.scripts.friends:main",
]
},
)