Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Dec 23, 2020
1 parent 44a1c16 commit 71a04e4
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To install ``pyomdbapi``, simply clone the `repository on GitHub

$ python setup.py install

`pyomdbapi` supports python versions 3.4 - 3.7
`pyomdbapi` supports python versions 3.5 - 3.9


Quickstart
Expand Down
2 changes: 1 addition & 1 deletion omdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__maintainer__ = "Tyler Barrus"
__email__ = "barrust@gmail.com"
__license__ = "MIT"
__version__ = "0.2.0"
__version__ = "0.2.1"
__url__ = "https://github.com/barrust/pyomdbapi"
__bugtrack_url__ = "{0}/issues".format(__url__)
__all__ = [
Expand Down
File renamed without changes.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read_file(filepath):
url=__url__,
download_url='{0}/tarball/v{1}'.format(__url__, __version__),
bugtrack_url=__bugtrack_url__,
install_requires=read_file('./requirements/python').splitlines(),
install_requires=read_file("requirements.txt").splitlines(),
packages=['omdb'],
long_description=read_file('README.rst'),
classifiers=[
Expand All @@ -40,9 +40,10 @@ def read_file(filepath):
'License :: OSI Approved',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)

0 comments on commit 71a04e4

Please sign in to comment.