Skip to content

Commit

Permalink
Merge pull request #362 from joeyagreco/general-cleanup
Browse files Browse the repository at this point in the history
General Improvements
  • Loading branch information
cwendt94 authored Sep 19, 2022
2 parents 4740ae3 + 172613c commit fa64462
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API/badge.svg)
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API%20Integration%20Test/badge.svg) [![codecov](https://codecov.io/gh/cwendt94/espn-api/branch/master/graphs/badge.svg)](https://codecov.io/gh/cwendt94/espn-api) [![Join the chat at https://gitter.im/ff-espn-api/community](https://badges.gitter.im/ff-espn-api/community.svg)](https://gitter.im/ff-espn-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![PyPI version](https://badge.fury.io/py/espn-api.svg)](https://badge.fury.io/py/espn-api)
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API%20Integration%20Test/badge.svg) [![codecov](https://codecov.io/gh/cwendt94/espn-api/branch/master/graphs/badge.svg)](https://codecov.io/gh/cwendt94/espn-api) [![Join the chat at https://gitter.im/ff-espn-api/community](https://badges.gitter.im/ff-espn-api/community.svg)](https://gitter.im/ff-espn-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![PyPI version](https://badge.fury.io/py/espn-api.svg)](https://badge.fury.io/py/espn-api)<a target="_blank" href="https://www.python.org/downloads/" title="Python version"><img src="https://img.shields.io/badge/python-%3E=_3.8-teal.svg"></a>


## ESPN API
This package uses ESPN's Fantasy API to extract data from any public or private league for **Fantasy Football and Basketball (NHL, MLB, and WNBA are in development)**.
Expand Down
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 fa64462

Please sign in to comment.