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
6a653a3d
Commit
6a653a3d
authored
Jul 25, 2018
by
eric pellegrini
Browse files
Add path to mpl data in MacOS bundle setup
parent
af37b1a6
Pipeline
#4245
canceled with stages
in 13 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Unix/MacOS/build.py
View file @
6a653a3d
...
...
@@ -3,8 +3,6 @@
import
os
import
sys
import
matplotlib
if
sys
.
platform
.
startswith
(
'darwin'
):
from
setuptools
import
setup
...
...
@@ -37,7 +35,6 @@ if sys.platform.startswith('darwin'):
setup
(
name
=
'MDANSE'
,
app
=
APP
,
data_files
=
matplotlib
.
get_py2exe_datafiles
(),
options
=
{
'py2app'
:
OPTIONS
},
setup_requires
=
[
'py2app'
]
)
...
...
BuildServer/Unix/MacOS/deploy.sh
View file @
6a653a3d
...
...
@@ -87,6 +87,7 @@ ln -s ../Resources/bin/python ${MDANSE_APP_DIR}/Contents/MacOS/python
## In order that the modified python in the bundle import the zipped sitepackages located in Contents/Resources we provide a modified site.py that will
## update the sys.path accordingly
cp
${
CI_PROJECT_DIR
}
/BuildServer/Unix/MacOS/site.py
${
MDANSE_APP_DIR
}
/Contents/Resources/.
cp
${
CI_PROJECT_DIR
}
/BuildServer/Unix/MacOS/site.py
${
MDANSE_APP_DIR
}
/Contents/Resources/lib/python2.7/.
chmod
777
${
CI_PROJECT_DIR
}
/BuildServer/Unix/MacOS/change_dylib_path.sh
...
...
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