Set setuptools version to <45 for Python2.7

This commit is contained in:
Robin Dunn
2020-01-22 11:31:14 -08:00
parent 57df21f2ef
commit 733c11fdbc
4 changed files with 6 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ jobs:
$PYTHON --version
$MAKE_VENV
source venv/bin/activate
python -m pip install -U pip setuptools wheel
python -m pip install -U pip "setuptools<45" wheel
python -m pip install -r requirements.txt
displayName: 'Install Python dependencies'

View File

@@ -40,7 +40,7 @@ jobs:
- script: |
curl -O https://bootstrap.pypa.io/get-pip.py
$PYTHON get-pip.py
$PYTHON -m pip install -U setuptools wheel
$PYTHON -m pip install -U "setuptools<45" wheel
$PYTHON -m pip install -r requirements.txt
displayName: 'Install Python dependencies'

View File

@@ -53,7 +53,7 @@ jobs:
- bash: |
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
python -m pip install -U setuptools wheel
python -m pip install -U "setuptools<45" wheel
python -m pip install -r requirements.txt
displayName: 'Install Python dependencies'

View File

@@ -1,7 +1,9 @@
# Python packages needed for building and testing wxPython Phoenix
-r install.txt
appdirs
setuptools
setuptools < 45 ; python_version < '3.0'
setuptools ; python_version >= '3.0'
wheel
twine
requests