Skip to content

Commit

Permalink
REL: Version 2021.5
Browse files Browse the repository at this point in the history
  • Loading branch information
saullocastro committed Apr 19, 2021
1 parent 5f00e49 commit 2805eb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,20 @@ jobs:
deploy:
strategy:
matrix:
runs-on: [windows-latest, ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
runs-on: ${{ matrix.runs-on }}
python-version: [3.9]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == 3.9)
run: |
python3 -m pip install --upgrade pip
pip3 install setuptools wheel twine
pip3 install -r requirements.txt
- name: Build Windows Python wheels
if: matrix.runs-on == 'windows-latest' && matrix.python-version == 3.9
- name: Build and publish python wheels
run: |
python3 setup.py sdist bdist_wheel
- name: Publish Windows Python wheels
if: matrix.runs-on == 'windows-latest' && matrix.python-version == 3.9
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python3 -m twine upload dist/*.whl
- name: Build manylinux Python wheels
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == 3.9
uses: RalfG/python-wheels-manylinux-build@v0.3.3-manylinux2010_x86_64
with:
python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39'
build-requirements: 'pip cython numpy scipy setuptools wheel twine'
- name: Publish manylinux Python wheels
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == 3.9
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python3 -m twine upload dist/*-manylinux*.whl
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


is_released = True
version = '2021.4'
version = '2021.5'


def git_version():
Expand Down

0 comments on commit 2805eb5

Please sign in to comment.