-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
33 lines (28 loc) · 1.04 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
import setuptools
pkg_vars = dict()
with open("leeger/_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:
readme = f.read()
setuptools.setup(
name="leeger",
version=package_version,
author="Joey Greco",
author_email="joeyagreco@gmail.com",
description="Instant stats for any fantasy football league.",
long_description_content_type="text/markdown",
long_description=readme,
license="MIT",
url="https://github.com/joeyagreco/leeger",
packages=setuptools.find_packages(
exclude=("test", "doc", "example", "img", ".github")
),
install_requires=required_packages,
include_package_data=True,
python_requires=f">={minimum_python_version_required}",
keywords="nfl statistics stats football espn yahoo sleeper myfantasyleague, fleaflicker",
)