Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
MAINT: revise PR 70
Browse files Browse the repository at this point in the history
* try using `[System.Version]` for more robust
Python version comparisons in powershell
  • Loading branch information
tylerjereddy committed Apr 13, 2020
1 parent 9bd0bc9 commit 79a18da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ build_script:
# DLLs with recent Python versions (>= 3.7)
- ps: |
$PYTHON_VERSION = $env:PYTHON_VERSION
If ($PYTHON_VERSION -ge 3.7) {
If ([System.Version]"$PYTHON_VERSION" -ge [System.Version]"3.7") {
cd ..
$cwd = Get-Location
ls $cwd
Expand Down

0 comments on commit 79a18da

Please sign in to comment.