-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from claromes/pip
Publish package to PyPI
- Loading branch information
Showing
8 changed files
with
77 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
# test | ||
.pytest_cache/ | ||
fivbvis/__pycache__/ | ||
tests/__pycache__/ | ||
tests/vcr_cassettes/ | ||
example.py | ||
request.txt | ||
|
||
# build | ||
/dist/ | ||
/build/ | ||
/*.egg-info/ | ||
|
||
# env | ||
/venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-r requirements.txt | ||
|
||
pytest==7.2.0 | ||
vcrpy==4.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .volley_match import VolleyMatch | ||
from .article import Article | ||
from .article import Article | ||
|
||
from . import version | ||
|
||
__version__ = version.__version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.1.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
requests==2.28.1 | ||
pytest==7.2.0 | ||
vcrpy==4.2.1 | ||
requests==2.28.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
from setuptools import setup, find_packages | ||
import re | ||
|
||
with open('README.md', 'r', encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
with open('requirements.txt', 'r', encoding='utf-8') as f: | ||
install_requires = f.read().splitlines() | ||
|
||
with open('fivbvis/version.py', 'r', encoding='utf-8') as f: | ||
version = re.search(r"^__version__\s*=\s*'(.*)'.*$", | ||
f.read(), flags=re.MULTILINE).group(1) | ||
|
||
setup( | ||
name='fivbvis', | ||
version=version, | ||
author='claromes', | ||
license='GPLv3', | ||
description='FIVB VIS Web Service Python Client', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
keywords='api-wrapper fivbvis fivb volleyball beachvolleyball', | ||
url='https://github.com/claromes/fivbvis', | ||
packages=find_packages(exclude=['docs', 'tests*']), | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Science/Research', | ||
'Intended Audience :: Education', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Information Analysis', | ||
'Topic :: Software Development', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Utilities' | ||
], | ||
python_requires='>=3.8', | ||
install_requires=install_requires | ||
) |