-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
31 lines (26 loc) · 1 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
import setuptools
pkg_vars = dict()
with open("sleeper/_version.py") as f:
exec(f.read(), pkg_vars)
package_version = pkg_vars["__version__"]
minimum_python_version_required = pkg_vars["__version_minimum_python__"]
with open("requirements.txt", "r", encoding="utf8") as reqs:
required_packages = reqs.read().splitlines()
with open("README.md") as f:
read_me = f.read()
setuptools.setup(
name="sleeper",
version=package_version,
author="Joey Greco",
author_email="[email protected]",
description="A Python wrapper for the Sleeper API.",
long_description_content_type="text/markdown",
long_description=read_me,
license="MIT",
url="https://github.com/joeyagreco/sleeper",
include_package_data=True,
packages=setuptools.find_packages(exclude=("test",)),
install_requires=required_packages,
python_requires=f">={minimum_python_version_required}",
keywords="nfl football sleeper sleeper-api sleeper-fantasy-football fantasy-football wrapper wrapper-api",
)