Skip to content

Commit

Permalink
Conditionalize Cymunk install
Browse files Browse the repository at this point in the history
Currently Cymunk doesnt install in windows/python3.5+ environments, which
is a dealbreaker for KivEnt/modules/cymunk working in modern envionments.

Remove testing of cymunk until cymunk is fixed

(see kivy/cymunk#52)
  • Loading branch information
tim-win committed Oct 14, 2019
1 parent 4e1f09e commit ca4263c
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,27 @@ build_script:
# Create cymunk wheel (kivent_cymunk dependency)
echo "requisite lib cymunk not installing on windows in python 3.5+, see https://github.com/kivy/cymunk/issues/52"
$cymunk_fixed = False
git clone -q --branch=master https://github.com/kivy/cymunk.git C:\projects\cymunk
if ($cymunk_fixed -eq "True") {
Check-Error
git clone -q --branch=master https://github.com/kivy/cymunk.git C:\projects\cymunk
Check-Error
cd C:\projects\cymunk
cd C:\projects\cymunk
python setup.py bdist_wheel -d "${WD}"
python setup.py bdist_wheel -d "${WD}"
Check-Error
Check-Error
# find a way how to check version dynamically (same as kivy)
# find a way how to check version dynamically (same as kivy)
pip install "${WD}\cymunk-0.0.0.dev0-${CP}"
pip install "${WD}\cymunk-0.0.0.dev0-${CP}"
Check-Error
Check-Error
}
cd $env:APPVEYOR_BUILD_FOLDER
Expand All @@ -178,7 +183,9 @@ build_script:
if ($mod -eq "core") {
$CORE_V = python -c "${R}${mod}${X}"
} elseif ($mod -eq "cymunk") {
$CYM_V = python -c "${R}${mod}${X}"
if ($cymunk_fixed -eq "True") {
$CYM_V = python -c "${R}${mod}${X}"
}
} elseif ($mod -eq "maps") {
$MAPS_V = python -c "${R}${mod}${X}"
} elseif ($mod -eq "particles") {
Expand All @@ -201,7 +208,9 @@ build_script:
if ($mod -eq "core") {
pip install "${WD}\KivEnt_Core-${CORE_V}-${CP}"
} elseif ($mod -eq "cymunk") {
pip install "${WD}\KivEnt_Cymunk-${CYM_V}-${CP}"
if ($cymunk_fixed -eq "True") {
pip install "${WD}\KivEnt_Cymunk-${CYM_V}-${CP}"
}
} elseif ($mod -eq "maps") {
pip install "${WD}\KivEnt_maps-${MAPS_V}-${CP}"
} elseif ($mod -eq "particles") {
Expand Down

0 comments on commit ca4263c

Please sign in to comment.