Skip to content

Commit

Permalink
Updated Mac dist setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
devos50 committed Jul 27, 2016
1 parent 0cb4348 commit 38356ac
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions mac/makedistmac_64bit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,11 @@ fi

export LIBRARYNAME=Tribler

PYTHON_VERSION=2.7
PYTHON="/System/Library/Frameworks/Python.framework/Versions/$PYTHON_VERSION/bin/python$PYTHON_VERSION"

# ----- Set python paths TODO dynamic checkout

PYTHONPATH="$PWD:$PYTHONPATH"
PYTHONPATH="$HOME/Workspace_new/install/lib/python2.7/site-packages:$PYTHONPATH"
PYTHONPATH="/Users/tribler/Library/Python/2.7/lib/python/site-packages/:$PYTHONPATH" # user-defined libraries
export PYTHONPATH

# ----- Clean up
/bin/rm -rf dist build

# ----- Build
${PYTHON} -OO - < ${LIBRARYNAME}/Main/Build/Mac/setuptriblermac_64bit.py py2app
pyinstaller tribler.spec

mkdir -p dist/installdir
mv dist/$APPNAME.app dist/installdir
Expand All @@ -46,13 +36,6 @@ ln -s /Applications dist/installdir/Applications

touch dist/installdir

#Copy logger.conf
cp logger.conf dist/installdir/Tribler.app/Contents/Resources/

# Copy family filter
cp Tribler/Category/category.conf dist/installdir/Tribler.app/Contents/Resources/Tribler/Category/
cp Tribler/Category/filter_terms.filter dist/installdir/Tribler.app/Contents/Resources/Tribler/Category/

mkdir -p dist/temp

# create image
Expand Down

0 comments on commit 38356ac

Please sign in to comment.