File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ cpython:
152152dist : $(BUILD )
153153 mkdir -p $(LIBDIR )
154154 unzip $(PY_BUILD ) /nxpy3.5.3/python.zip -d $(LIBDIR )
155+ cp -r $(PY_BUILD ) /nx-* /nx $(LIBDIR )
155156 cp $(OUTPUT ) .{nro,nacp} $(DIST_DIR ) /
156157 cp examples/hello.py $(DIST_DIR ) /main.py
157158 cd $(BUILD ) && zip -r $(TARGET ) -$(APP_VERSION ) .zip $(TARGET )
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ PYLINK := https://www.python.org/ftp/python/$(PYVERS)/Python-$(PYVERS).tgz
5151PYFILE := py.tgz
5252_NXFILE := _nx.zip
5353_NX_VERSION := 174dfd099fcdb6dab8e521a2816e15f638de0436
54+ NXPKGFILE := nxpkg.zip
55+ NXPKG_VERSION := fe22f98eed557c0efadd2a52d2b0542ef1d246c1
5456
5557.PHONY : all clean
5658
@@ -76,7 +78,9 @@ linkPY: soospatchPY
7678
7779clone_NX :
7880 wget -O $(_NXFILE ) " https://github.com/nx-python/_nx/archive/$( _NX_VERSION) .zip"
81+ wget -O $(NXPKGFILE ) " https://github.com/nx-python/nx/archive/$( NXPKG_VERSION) .zip"
7982 unzip -o $(_NXFILE )
83+ unzip -o $(NXPKGFILE )
8084 touch clone_NX
8185
8286soospatchPY : compilePY
@@ -120,4 +124,4 @@ $(PYFILE):
120124 wget -O " $( PYFILE) " " $( PYLINK) " || curl -Lo " $( PYFILE) " " $( PYLINK) "
121125
122126clean :
123- @rm -rf $(PYDIR ) $(PYFILE ) $(_NXFILE ) patchPY extractedPY compilePY linkPY distfPY soospatchPY clone_NX _nx-* libpython* .a
127+ @rm -rf $(PYDIR ) $(PYFILE ) $(_NXFILE ) $( NXPKGFILE ) patchPY extractedPY compilePY linkPY distfPY soospatchPY clone_NX _nx- * nx -* libpython* .a
You can’t perform that action at this time.
0 commit comments