Skip to content

Commit 532ad41

Browse files
WIP
1 parent 337e757 commit 532ad41

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: windows-2022
2424
strategy:
2525
matrix:
26-
python-version: [ 3.13, 3.14 ]
26+
python-version: [ 3.14 ]
2727

2828
steps:
2929

setup.py

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import distutils.cmd
44
import os
55
import sys
6+
import shutil
67

78
def get_platform():
89

@@ -29,9 +30,11 @@ def setup_package():
2930
os.chdir(src_path)
3031
sys.path.insert(0, src_path)
3132

33+
shutil.copy("../../pilotlight/shaders", "pilotlight/shaders")
34+
3235
metadata = dict(
3336
name='pilotlight', # Required
34-
version="0.1.3", # Required
37+
version="0.1.4", # Required
3538
author="Jonathan Hoffstadt", # Optional
3639
author_email="jonathanhoffstadt@yahoo.com", # Optional
3740
description='Pilot Light', # Required
@@ -64,29 +67,25 @@ def setup_package():
6467
if get_platform() == "Windows":
6568
metadata['package_data']['pilotlight'] = [
6669
"__init__.py",
67-
"pilotlight.pyd",
68-
"pilotlight.pyi",
69-
"pl_core.py",
70-
"pl_draw_ext.py",
71-
"pl_starter_ext.py",
72-
"pl_ui_ext.py",
73-
"pl_vfs_ext.py",
74-
"pl_pak_ext.py",
75-
"pl_shader_ext.py",
70+
"*.pyd",
71+
"*.py",
72+
"shaders/*.inc",
73+
"shaders/*.comp",
74+
"shaders/*.glsl",
75+
"shaders/*.frag",
76+
"shaders/*.vert",
7677
"spirv-cross-c-shared.dll"
7778
]
7879
else:
7980
metadata['package_data']['pilotlight'] = [
8081
"__init__.py",
8182
"pilotlight.so",
82-
"pilotlight.pyi",
83-
"pl_core.py",
84-
"pl_draw_ext.py",
85-
"pl_starter_ext.py",
86-
"pl_ui_ext.py",
87-
"pl_pak_ext.py",
88-
"pl_shader_ext.py",
89-
"pl_vfs_ext.py"
83+
"*.py",
84+
"shaders/*.inc",
85+
"shaders/*.comp",
86+
"shaders/*.glsl",
87+
"shaders/*.frag",
88+
"shaders/*.vert"
9089
]
9190

9291
if "--force" in sys.argv:

0 commit comments

Comments
 (0)