Commit 6a653a3d authored by eric pellegrini's avatar eric pellegrini

Add path to mpl data in MacOS bundle setup

parent af37b1a6
Pipeline #4245 canceled with stages
in 13 minutes and 50 seconds
......@@ -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']
)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment