mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨 更新 parse-changelog 工作流 (#11289)
This commit is contained in:
parent
291a083378
commit
5095d836c0
7 changed files with 135 additions and 74 deletions
8
scripts/_pkg/__init__.py
Normal file
8
scripts/_pkg/__init__.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue