@@ -33,7 +33,7 @@ else ifeq (${HOSTNAME},584VVL9L9XIZV8H)
3333 # This is win10 test server
3434 HOST ?=windows.x86_64
3535 PYVERS := 3.9 3.10 3.11 3.12 3.13 3.14
36- PYTHONBIN := C:/Users/Administrator/AppData/Local/Programs/Python/PythonXY /python.exe
36+ PYTHONBIN := ~/v9-test/venv/XY/Scripts /python.exe
3737else ifeq (${HOSTNAME},WIN7-1611171239)
3838 ifeq (${HOST},windows.x86)
3939 PYVERS := 3.7 3.8
@@ -58,7 +58,9 @@ ifneq ($(findstring ${PYVER},${PYVERS}),${PYVER})
5858 $(error "${PYVER}" not in supported Python versions "${PYVERS}")
5959endif
6060
61- ifeq (${HOST},windows.x86_64)
61+ ifeq (${HOSTNAME},584VVL9L9XIZV8H)
62+ PYTHON ?= $(subst XY,${PYVER},${PYTHONBIN})
63+ else ifeq (${HOST},windows.x86_64)
6264 PYTHON ?= $(subst XY,$(subst .,,${PYVER}) ,${PYTHONBIN})
6365else ifeq (${HOST},windows.x86)
6466 PYTHON ?= $(subst XY,$(subst .,,${PYVER}) ,${PYTHONBIN})
@@ -89,7 +91,7 @@ whlpath := $(shell (test -d ${whlpath} && echo ${whlpath}) || echo ./pkgdist)
8991pkgfile := $(word 1,$(shell cd ${pkgpath}; ls -t pyarmor-* .tar.gz) )
9092testver := $(subst pyarmor-,,$(subst .tar.gz,,${pkgfile}) )
9193coreprefix := pyarmor_cli_core-
92- coresuffix := -cp38-none -macosx_10_14_x86_64.whl
94+ coresuffix := -cp38-cp38 -macosx_10_14_x86_64.whl
9395corever =$(subst ${coreprefix},,$(subst ${coresuffix},,$(shell cd ${whlpath}; ls -t ${coreprefix}* ${coresuffix}) ) )
9496
9597$(info got test package file : ${pkgfile})
@@ -112,8 +114,8 @@ install-%:
112114 @tar xzf ${pkgpath} /pyarmor-${testver} .tar.gz
113115 @mv pyarmor-${testver} /pyarmor .
114116 @rm -rf pyarmor-${testver}
115- @unzip ${whlpath} /pyarmor_cli_core-${corever} -cp$(subst .,,$(subst install-,,$@ ) ) -none -${platform} .whl > /dev/null
116- @ (themida=../pyarmor_cli_core_themida-${corever} -cp$( subst .,,$( subst install-,,$@ ) ) -none -any.whl && test -f $$ themida && unzip $$ themida > /dev/null || echo no themida $$ themida)
117+ @unzip ${whlpath} /pyarmor_cli_core-${corever} -cp$(subst .,,$(subst install-,,$@ ) ) -cp $( subst .,, $( subst install-,, $@ ) ) -${platform} .whl > /dev/null
118+ @ (themida=../pyarmor_cli_core_themida-${corever} -cp$( subst .,,$( subst install-,,$@ ) ) -cp $( subst .,, $( subst install-,, $@ ) ) -any.whl && test -f $$ themida && unzip $$ themida > /dev/null || echo no themida $$ themida)
117119 @rm -rf pyarmor_cli_core-${corever} .dist-info
118120
119121atest :
0 commit comments