File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3636 git clone https://github.com/sipeed/MaixCDK --depth=1
3737 export MAIXCDK_PATH=`pwd`/MaixCDK
3838 cd $maixpy_path
39- python -m pip install -U pip setuptools wheel twine
39+ python -m pip install -U pip setuptools wheel twine packaging
4040 python -m pip install -r $MAIXCDK_PATH/requirements.txt
4141 python -m pip install pybind11-stubgen
4242 echo "--------------------------------"
Original file line number Diff line number Diff line change 3232 git clone https://github.com/sipeed/MaixCDK --depth=1
3333 export MAIXCDK_PATH=`pwd`/MaixCDK
3434 cd $pwd_path
35- python -m pip install -U pip setuptools wheel twine
35+ python -m pip install -U pip setuptools wheel twine packaging
3636 python -m pip install -r $MAIXCDK_PATH/requirements.txt
3737 python -m pip install pybind11-stubgen
3838 echo "--------------------------------"
Original file line number Diff line number Diff line change @@ -289,9 +289,10 @@ def has_ext_modules(foo):
289289 with zipfile .ZipFile (os .path .join ("dist" , name ), "r" ) as zip_ref :
290290 zip_ref .extractall ("dist/temp" )
291291 wheel_path = "dist/temp/MaixPy-{}.dist-info/WHEEL" .format (__version__ )
292- if not os .path .exists (wheel_path ):
293- wheel_path = "dist/temp/maixpy-{}.dist-info/WHEEL" .format (__version__ )
294- with open (wheel_path , "r" , encoding = "utf-8" ) as f :
292+ wheel_path_r = wheel_path
293+ if not os .path .exists (wheel_path_r ):
294+ wheel_path_r = "dist/temp/maixpy-{}.dist-info/WHEEL" .format (__version__ )
295+ with open (wheel_path_r , "r" , encoding = "utf-8" ) as f :
295296 lines = f .readlines ()
296297 with open (wheel_path , "w" , encoding = "utf-8" ) as f :
297298 for line in lines :
You can’t perform that action at this time.
0 commit comments