Install and test with the wheel, not the deprecated distutils install command.

This commit is contained in:
Robin Dunn
2022-06-01 13:00:17 -07:00
parent c2dbb03e92
commit be0ba7db80
3 changed files with 3 additions and 4 deletions

View File

@@ -65,6 +65,6 @@ jobs:
- script: |
python build.py bdist_wheel
python build.py install
python -m pip install dist/wxPython-*.whl
python -c "import wx; print(wx.version());"
displayName: 'build wheel and test install'

View File

@@ -60,6 +60,6 @@ jobs:
- script: |
python build.py bdist_wheel
python build.py install
python -m pip install dist/wxPython-*.whl
python -c "import wx; print(wx.version());"
displayName: 'build wheel and test install'

View File

@@ -67,7 +67,6 @@ jobs:
displayName: 'Install Python dependencies'
- bash: |
which cl.exe
python build.py --jobs=4 build_wx
displayName: 'build wxWidgets'
@@ -81,6 +80,6 @@ jobs:
- bash: |
python build.py bdist_wheel
python build.py install
python -m pip install dist/wxPython-*.whl
python -c "import wx; print(wx.version());"
displayName: 'build wheel and test install'