mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Set setuptools version to <45 for Python2.7
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
|||||||
$PYTHON --version
|
$PYTHON --version
|
||||||
$MAKE_VENV
|
$MAKE_VENV
|
||||||
source venv/bin/activate
|
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
|
python -m pip install -r requirements.txt
|
||||||
displayName: 'Install Python dependencies'
|
displayName: 'Install Python dependencies'
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- script: |
|
- script: |
|
||||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
$PYTHON 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
|
$PYTHON -m pip install -r requirements.txt
|
||||||
displayName: 'Install Python dependencies'
|
displayName: 'Install Python dependencies'
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- bash: |
|
- bash: |
|
||||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
python 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
|
python -m pip install -r requirements.txt
|
||||||
displayName: 'Install Python dependencies'
|
displayName: 'Install Python dependencies'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
# Python packages needed for building and testing wxPython Phoenix
|
# Python packages needed for building and testing wxPython Phoenix
|
||||||
-r install.txt
|
-r install.txt
|
||||||
appdirs
|
appdirs
|
||||||
setuptools
|
setuptools < 45 ; python_version < '3.0'
|
||||||
|
setuptools ; python_version >= '3.0'
|
||||||
|
|
||||||
wheel
|
wheel
|
||||||
twine
|
twine
|
||||||
requests
|
requests
|
||||||
|
|||||||
Reference in New Issue
Block a user