Skip to content

Commit

Permalink
trying brew update to get pyton3 on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Jul 20, 2016
1 parent 74f37c1 commit 41f5431
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kniteditor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""An editor for knitting projects."""

__version__ = "0.0.20"
__version__ = "0.0.21"


def main(*args, **kw):
Expand Down
5 changes: 3 additions & 2 deletions mac-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ cd "$HERE"
python3 -m pip uninstall -y wheel

echo "# install the current version from the build"
python3 -m pip install $USER --upgrade dist/kniteditor-*.zip
python3 -m pip install $USER --upgrade dist/kniteditor-`linux-build/package_version`.zip

echo "# install test requirements"
python3 -m pip install $USER --upgrade -r test-requirements.txt
)

echo "# build the app"
python3 -m PyInstaller KnitEditor.spec
# see https://pythonhosted.org/PyInstaller/usage.html
python3 -m PyInstaller -d -y KnitEditor.spec

echo "# create the .dmg file"
# see http://stackoverflow.com/a/367826/1320237
Expand Down
4 changes: 4 additions & 0 deletions mac-build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ HERE="`dirname \"$0\"`"
USER="$1"
cd "$HERE"

brew update

echo "# install python3"
brew install python3
echo -n "Python version: "
python3 --version
python3 -m pip install --upgrade pip

echo "# install pygame"
Expand Down

0 comments on commit 41f5431

Please sign in to comment.