Skip to content

Commit

Permalink
- Buffed setup flow
Browse files Browse the repository at this point in the history
- version bump
  • Loading branch information
joeyagreco committed Oct 16, 2022
1 parent 1fe0a5d commit 48c38dc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

- N/A

## [1.3.1]

- Upgraded dependency versions
- Buffed setup flow

## [1.3.0]

Expand All @@ -31,7 +36,9 @@ All notable changes to this project will be documented in this file.

### Initial Release

[Unreleased]: https://github.com/joeyagreco/sleeper/compare/v1.3.0...HEAD
[Unreleased]: https://github.com/joeyagreco/sleeper/compare/v1.3.1...HEAD

[1.3.1]: https://github.com/joeyagreco/sleeper/releases/tag/v1.3.1

[1.3.0]: https://github.com/joeyagreco/sleeper/releases/tag/v1.3.0

Expand Down
16 changes: 11 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,28 @@
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=pkg_vars["__version__"],
version=package_version,
author="Joey Greco",
author_email="joeyagreco@gmail.com",
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", "docs")),
install_requires=["requests",
"configparser",
"setuptools",
"Pillow"]
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"
)
5 changes: 4 additions & 1 deletion sleeper/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
__version__ = "1.3.0"
__version__ = "1.3.1"

# minimum supported Python version
__version_minimum_python__ = "3.10"

0 comments on commit 48c38dc

Please sign in to comment.