Skip to content

Commit

Permalink
copy python2 setup from cython
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jul 23, 2023
1 parent f305bdb commit 2598922
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,16 @@ jobs:
# parameters:
# pythonVersion: "2.7"

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Set up Python2
# Copied from cython's ci.yml
run: |
sudo ln -fs python2 /usr/bin/python
sudo apt-get update
sudo apt-get install python-setuptools python2.7 python2.7-dev
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
ls -l /usr/bin/pip* /usr/local/bin/pip*
which pip
- name: Install/Upgrade Python dependencies
run: python -m pip install --upgrade pip wheel
Expand Down

0 comments on commit 2598922

Please sign in to comment.