File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ cpython:
152
152
dist : $(BUILD )
153
153
mkdir -p $(LIBDIR )
154
154
unzip $(PY_BUILD ) /nxpy3.5.3/python.zip -d $(LIBDIR )
155
+ cp -r $(PY_BUILD ) /nx-* /nx $(LIBDIR )
155
156
cp $(OUTPUT ) .{nro,nacp} $(DIST_DIR ) /
156
157
cp examples/hello.py $(DIST_DIR ) /main.py
157
158
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
51
51
PYFILE := py.tgz
52
52
_NXFILE := _nx.zip
53
53
_NX_VERSION := 174dfd099fcdb6dab8e521a2816e15f638de0436
54
+ NXPKGFILE := nxpkg.zip
55
+ NXPKG_VERSION := fe22f98eed557c0efadd2a52d2b0542ef1d246c1
54
56
55
57
.PHONY : all clean
56
58
@@ -76,7 +78,9 @@ linkPY: soospatchPY
76
78
77
79
clone_NX :
78
80
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"
79
82
unzip -o $(_NXFILE )
83
+ unzip -o $(NXPKGFILE )
80
84
touch clone_NX
81
85
82
86
soospatchPY : compilePY
@@ -120,4 +124,4 @@ $(PYFILE):
120
124
wget -O " $( PYFILE) " " $( PYLINK) " || curl -Lo " $( PYFILE) " " $( PYLINK) "
121
125
122
126
clean :
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