Skip to content

Commit 4c8b870

Browse files
author
Nick MacCarthy
committed
feat: remove python 2 support
1 parent 7a93041 commit 4c8b870

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ jobs:
88
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/checkout@v2
11-
- name: install python2 for ubuntu
12-
run: sudo apt install python2
13-
- name: get pip script for python2
14-
run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
15-
- name: install pip for python2
16-
run: sudo python2 get-pip.py
17-
- name: install requirements for python2
18-
run: pip2 install -r requirements-2.txt
1911
- name: install requirements for python3
2012
run: pip3 install -r requirements-3.txt
2113
- name: package and upload python3
@@ -24,6 +16,5 @@ jobs:
2416
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2517
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
2618
run: |
27-
python2.7 setup.py sdist bdist_wheel
2819
python3 setup.py sdist bdist_wheel
2920
twine upload dist/*

requirements-2.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)