@@ -101,12 +101,14 @@ def build_extension(self, ext):
101101Scenes = [os .path .join ('data/Scenes/' , file ) for file in os .listdir ('data/Scenes/' )]
102102shaders = [os .path .join ('data/shaders/' , file ) for file in os .listdir ('data/shaders/' )]
103103emitter_boundary = [os .path .join ('data/emitter_boundary/' , file ) for file in os .listdir ('data/emitter_boundary/' )]
104+ fonts = ['extern/imgui/misc/fonts/Roboto-Medium.ttf' ]
104105
105106# Install paths depending on system
106107models_dest = 'data/models' if platform .system () == "Windows" else "bin/data/models"
107108scenes_dest = 'data/Scenes' if platform .system () == "Windows" else "bin/data/Scenes"
108109shaders_dest = 'resources/shaders' if platform .system () == "Windows" else 'bin/resources/shaders'
109110emitter_boundary_dest = 'resources/emitter_boundary' if platform .system () == "Windows" else 'bin/resources/emitter_boundary'
111+ fonts_dest = 'resources/fonts' if platform .system () == "Windows" else 'bin/resources/fonts'
110112
111113# Get Readme text for long description
112114cur_dir = os .path .abspath (os .path .dirname (__file__ ))
@@ -115,7 +117,7 @@ def build_extension(self, ext):
115117
116118setup (
117119 name = name ,
118- version = '2.8.0 ' ,
120+ version = '2.8.1 ' ,
119121 author = 'Interactive Computer Graphics' ,
120122 author_email = '' ,
121123 description = 'SPlisHSPlasH Project Python Bindings' ,
@@ -131,6 +133,7 @@ def build_extension(self, ext):
131133 data_files = [(models_dest , [m for m in models if os .path .isfile (m )]),
132134 (scenes_dest , [s for s in Scenes if os .path .isfile (s )]),
133135 (shaders_dest , [s for s in shaders if os .path .isfile (s )]),
134- (emitter_boundary_dest , [s for s in emitter_boundary if os .path .isfile (s )])],
136+ (emitter_boundary_dest , [s for s in emitter_boundary if os .path .isfile (s )]),
137+ (fonts_dest , [f for f in fonts if os .path .isfile (f )])],
135138 zip_safe = False ,
136139)
0 commit comments