瀏覽代碼

Pylibs added

master
Dirk Alders 3 年之前
父節點
當前提交
3250874e8d
共有 3 個文件被更改,包括 13 次插入0 次删除
  1. 3
    0
      .gitmodules
  2. 9
    0
      link.sh
  3. 1
    0
      pylibs

+ 3
- 0
.gitmodules 查看文件

@@ -0,0 +1,3 @@
1
+[submodule "pylibs"]
2
+	path = pylibs
3
+	url = https://git.mount-mockery.de/dirk/pylibs.git

+ 9
- 0
link.sh 查看文件

@@ -0,0 +1,9 @@
1
+for path in `find pylibs/ -maxdepth 1 -type d`; do
2
+	if [[ $path != "pylibs/" ]];then
3
+		lib=${path#*/}
4
+		echo Creating symbolic link for library $lib
5
+		rm -f venv/lib/python3.9/site-packages/$lib
6
+		ln -s ../../../../$path venv/lib/python3.9/site-packages/
7
+	fi
8
+done
9
+

+ 1
- 0
pylibs

@@ -0,0 +1 @@
1
+Subproject commit 62aa691636eb6e0553660726c099e765b8f176f5

Loading…
取消
儲存