-
Notifications
You must be signed in to change notification settings - Fork 149
/
setup.py
34 lines (29 loc) · 1.21 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
from setuptools import setup, find_packages
import os.path
here = os.path.dirname(__file__)
descr_file = os.path.join(here, "README.rst")
version_file = os.path.join(here, "src", "riotwatcher", "__version__.py")
version_info = {}
with open(version_file, "r") as f:
exec(f.read(), version_info)
dev_requirements = ["coverage", "pre-commit", "pytest", "pytest-cov", "tox"]
setup(
name=version_info["__title__"].lower(),
version=version_info["__version__"],
packages=find_packages("src", exclude=["test"]),
package_dir={"": "src"},
description=f"{version_info['__title__']} is a thin wrapper on top of the Riot Games API for League of Legends.",
long_description=open(descr_file).read(),
author="AG Stephan",
url="https://github.com/pseudonym117/Riot-Watcher",
classifiers=[
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
"Topic :: Games/Entertainment :: Real Time Strategy",
"Topic :: Games/Entertainment :: Role-Playing",
],
license="MIT",
install_requires=["requests"],
extras_require={"dev": dev_requirements},
)