File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ ${STMP}/setup: notabot.cfg entitlements.plist
4141 touch ${STMP} /setup
4242
4343${STMP}/finish : ${STMP}/python
44- local/bin/python3 -m pip install setuptools
4544 cp pkgconfig/* local/lib/pkgconfig
4645 touch ${STMP} /finish
4746
@@ -87,7 +86,7 @@ ${STMP}/tcltk: ${STMP}/setup
8786
8887${STMP}/xz : ${STMP}/setup
8988 bash xz/build_xz.sh
90- python -m notabot.sign local/lib/liblzma.dylib
89+ python3 -m notabot.sign local/lib/liblzma.dylib
9190 touch ${STMP} /xz
9291
9392${STMP}/python : ${STMP}/xz ${STMP}/openssl ${STMP}/tcltk
Original file line number Diff line number Diff line change @@ -122,15 +122,12 @@ popd
122122# Fix up rpaths and shebangs
123123echo " Rewriting load paths ..."
124124source ../IDs.sh
125- python3 fix_paths.py repo " ${VERSION_DIR} " /local/bin 2> /dev/null
126- python3 fix_paths.py repo " ${VERSION_DIR} " /local/lib 2> /dev/null
127- python3 fix_paths.py repo " ${VERSION_DIR} " /local/libexec 2> /dev/null
128- python3 fix_scripts.py " ${VERSION_DIR} " /local/bin
125+ python3 fix_paths.py repo " ${VERSION_DIR} " /local 2> /dev/null
129126
130127# Some sagelib extension modules have bad rpaths
131128ECL_SO=" ${SITE_PACKAGES} /sage/libs/ecl.cpython-${PY_VRSN} -darwin.so"
132129macher clear_rpaths ${ECL_SO}
133- macher add_rpath @loader_path/../../../../ ${ECL_SO}
130+ macher add_rpath @loader_path/../../../.. ${ECL_SO}
134131
135132BLISS_SO=" ${SITE_PACKAGES} /sage/graphs/bliss.cpython-${PY_VRSN} -darwin.so"
136133macher add_rpath @loader_path/../../../.. $BLISS_SO
@@ -152,7 +149,7 @@ xattr -rc ${BUILD}/Sage.framework
152149find ${BUILD} /Sage.framework -name ' *.pyc' -delete
153150
154151# Fix up load paths
155- python3 fix_paths.py repo/sage Frameworks/Sage.framework
152+ python3 fix_paths.py repo Frameworks/Sage.framework
156153
157154echo " Starting Sage to create byte code files ..."
158155" ${SAGE_SYMLINK} " /local/bin/sage -c " print(2 + 2) ; exit"
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ def fix_files(directory):
201201 try :
202202 repo , directory = sys .argv [1 ], sys .argv [2 ]
203203 except IndexError :
204- print ('Usage python3 fixpaths.py repo <directory>' )
204+ print ('Usage python3 fixpaths.py < repo> <directory>' )
205205 with open (os .path .join (repo , 'sage' , 'VERSION.txt' )) as input_file :
206206 sage_version = input_file .read ().strip ()
207207 LOCAL_LIB = LOCAL_LIB .replace ('X.X' , sage_version )
You can’t perform that action at this time.
0 commit comments