Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
33781300
Commit
33781300
authored
Jun 06, 2017
by
eric pellegrini
Browse files
big fix in darwin deploy script
parent
2e79ace4
Pipeline
#2109
passed with stages
in 12 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Darwin/Scripts/run_deploy.sh
View file @
33781300
...
...
@@ -66,11 +66,11 @@ sleep 5
# recipe to make the dmg free from the building machine dependency adapted from
# http://joaoventura.net/blog/2016/embeddable-python-osx/
cp
-r
/usr/local/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ ./dist/MDANSE.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7
cp
/usr/local/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python dist/MDANSE.app/Contents/MacOS/python
cp
/usr/local/Frameworks/Python.framework/Versions/2.7/Python ./dist/MDANSE.app/Contents/
MacOS
/libpython2.7.dylib
install_name_tool
-change
/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Python @executable_path/libpython2.7.dylib ./dist/MDANSE.app/Contents/MacOS/python
chmod
777 ./dist/MDANSE.app/Contents/
MacOS
/libpython2.7.dylib
install_name_tool
-id
@executable_path/libpython2.7.dylib ./dist/MDANSE.app/Contents/
MacOS
/libpython2.7.dylib
cp
/usr/local/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
./
dist/MDANSE.app/Contents/MacOS/python
cp
/usr/local/Frameworks/Python.framework/Versions/2.7/Python ./dist/MDANSE.app/Contents/
Frameworks/Python.framework/Versions/2.7
/libpython2.7.dylib
install_name_tool
-change
/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Python @executable_path/
../Frameworks/Python.framework/Versions/2.7/
libpython2.7.dylib ./dist/MDANSE.app/Contents/MacOS/python
chmod
777 ./dist/MDANSE.app/Contents/
Frameworks/Python.framework/Versions/2.7
/libpython2.7.dylib
install_name_tool
-id
@executable_path/
../Frameworks/Python.framework/Versions/2.7/
libpython2.7.dylib ./dist/MDANSE.app/Contents/
Frameworks/Python.framework/Versions/2.7
/libpython2.7.dylib
../Tools/create-dmg/create-dmg
--background
"../Resources/background.jpg"
--volname
"MDANSE"
--window-pos
200 120
--window-size
800 400
--icon
MDANSE.app 200 190
--hide-extension
MDANSE.app
--app-drop-link
600 185
"
${
MDANSE_DMG
}
"
./dist
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment