🎨 更新 parse-changelog 工作流 (#11289)

This commit is contained in:
绛亽 2024-05-07 22:13:59 +08:00 committed by GitHub
parent 291a083378
commit 5095d836c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 135 additions and 74 deletions

8
scripts/_pkg/__init__.py Normal file
View file

@ -0,0 +1,8 @@
import os,sys
if os.path.abspath(os.path.dirname(__file__)) not in sys.path:
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
PY_DIR = os.path.abspath(os.path.dirname(sys.executable))
PYSPP = os.path.abspath(os.path.join(PY_DIR,'Lib', 'site-packages'))
if PY_DIR not in sys.path:
sys.path.append(PY_DIR)
sys.path.append(PYSPP)