Skip to content

Commit

Permalink
增加python版本获取
Browse files Browse the repository at this point in the history
  • Loading branch information
liumingye committed Aug 31, 2024
1 parent 62be2a5 commit 709c80d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package-pyservice-mac.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export SITE_PACKAGES_PATH=$(pwd)/aiocr-env/lib/python3.8/site-packages
export PY_VERSION=`python3 -V 2>&1|awk '{print $2}'|awk -F '.' '{print $1"."$2}'`
export SITE_PACKAGES_PATH=$(pwd)/aiocr-env/lib/python${PY_VERSION}/site-packages
export CODE_PATH=$(pwd)/py-service


Expand Down

0 comments on commit 709c80d

Please sign in to comment.