-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.py
More file actions
17 lines (14 loc) · 850 Bytes
/
package.py
File metadata and controls
17 lines (14 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import shutil
if not os.path.isdir("../out/pilotlight"):
os.mkdir("../out/pilotlight")
# copy core headers
shutil.copy("../pilotlight/__init__.py", "../out/pilotlight/__init__.py")
shutil.copy("../pilotlight/pilotlight.pyi", "../out/pilotlight/pilotlight.pyi")
shutil.copy("../pilotlight/pilotlight.pyd", "../out/pilotlight/pilotlight.pyd")
shutil.copy("../pilotlight/pl_core.py", "../out/pilotlight/pl_core.py")
shutil.copy("../pilotlight/pl_draw_ext.py", "../out/pilotlight/pl_draw_ext.py")
shutil.copy("../pilotlight/pl_starter_ext.py", "../out/pilotlight/pl_starter_ext.py")
shutil.copy("../pilotlight/pl_ui_ext.py", "../out/pilotlight/pl_ui_ext.py")
shutil.copy("../pilotlight/pl_vfs_ext.py", "../out/pilotlight/pl_vfs_ext.py")
shutil.copy("../pilotlight/spirv-cross-c-shared.dll", "../out/pilotlight/spirv-cross-c-shared.dll")