Skip to content

Commit

Permalink
another go on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrisca Daniel (uidn3651) authored and Hrisca Daniel (uidn3651) committed Dec 2, 2020
1 parent 75fc3e3 commit ca28f7a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.

- APPVEYOR_BUILD_WORKER_IMAGE: ubuntu2004
# - APPVEYOR_BUILD_WORKER_IMAGE: ubuntu2004

#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# PYTHON: "C:\\Python37-x64"
Expand Down Expand Up @@ -126,7 +126,7 @@ for:
# - sh: "sudo apt-get --yes --force-yes update"
# - sh: "sudo DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-dev python3-pip python3-setuptools"
- sh: "echo ~/$PYTHON"
- sh: "source ~/$PYTHON/bin activate"
- sh: "source ~/$PYTHON/bin/activate"
- sh: "pip3 install --upgrade pip"
- sh: "pip3 install --upgrade setuptools"
- sh: "pip3 install wheel"
Expand All @@ -153,7 +153,7 @@ for:
# Note that you must use the environment variable %PYTHON% to refer to
# the interpreter you're using - Appveyor does not do anything special
# to put the Python version you want to use on PATH.
- sh: "source ~/$PYTHON/bin activate"
- sh: "source ~/$PYTHON/bin/activate"
- sh: "python3 test/run_all.py"
- sh: "deactivate"

Expand All @@ -162,7 +162,7 @@ for:
# Again, you only need build.cmd if you're building C extensions for
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
# interpreter
- sh: "source ~/$PYTHON/bin activate"
- sh: "source ~/$PYTHON/bin/activate"
- sh: "python3 setup.py bdist_wheel"
- sh: "deactivate"

Expand Down
4 changes: 2 additions & 2 deletions asammdf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import site
from pathlib import Path

if sys.platform.startswith('linux'):
asammdf_path = Path('/home/appveyor/.local/lib/python3.8/site-packages/asammdf/gui/asammdfgui.py')
asammdf_path = Path('/home/appveyor/venv3.7/lib/python3.7/site-packages/asammdf/gui/asammdfgui.py')
elif sys.platform.startswith('win'):
asammdf_path = Path(site.getsitepackages()[1]) / 'asammdf' / 'gui' / 'asammdfgui.py'
else:
asammdf_path = Path('/Users/appveyor/venv3.7.7/site-packages/asammdf/gui/asammdfgui.py')
asammdf_path = Path('/Users/appveyor/venv3.7/lib/python3.7/site-packages/asammdf/gui/asammdfgui.py')

block_cipher = None
added_files = []
Expand Down
2 changes: 1 addition & 1 deletion asammdf_noconsole.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if sys.platform.startswith('linux'):
elif sys.platform.startswith('win'):
asammdf_path = Path(site.getsitepackages()[1]) / 'asammdf' / 'gui' / 'asammdfgui.py'
else:
asammdf_path = Path('/Users/appveyor/venv3.7.7/site-packages/asammdf/gui/asammdfgui.py')
asammdf_path = Path('/Users/appveyor/venv3.7/lib/python3.7/site-packages/asammdf/gui/asammdfgui.py')

block_cipher = None
added_files = []
Expand Down

0 comments on commit ca28f7a

Please sign in to comment.