Skip to content

Commit

Permalink
added versioning flow and long description to setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyagreco committed Sep 17, 2022
1 parent e6bc0a0 commit 172613c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions espn_api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from ._version import __version__ # noqa
1 change: 1 addition & 0 deletions espn_api/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.22.0'
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
from setuptools import setup, find_packages

pkg_vars = dict()
with open('espn_api/_version.py') as f:
exec(f.read(), pkg_vars)

with open("README.md") as f:
readme = f.read()

setup(
name='espn_api',
packages=find_packages(),
version='0.22.0',
version=pkg_vars["__version__"],
author='Christian Wendt',
description='ESPN API',
long_description=readme,
long_description_content_type="text/markdown",
install_requires=['requests>=2.0.0,<3.0.0'],
setup_requires=['nose>=1.0'],
test_suite='nose.collector',
Expand Down

0 comments on commit 172613c

Please sign in to comment.