File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,16 +198,16 @@ def find_system_module_path():
198198# to something else. The problem is that virtualenv somehow
199199# now overrides the base_prefix (which it shouldn't do) which
200200# makes distutils unable to find our Python library
201- python_lib_dir = ""
201+ python_lib_dirs = None
202202if platform .system () == 'Windows' :
203203 ci_python_dir = os .path .split (find_system_module_path ())[0 ]
204- python_lib_dir = os .path .join (ci_python_dir , "Libs" )
204+ python_lib_dirs = [ os .path .join (ci_python_dir , "Libs" )]
205205
206206setup_kwargs ['ext_modules' ].append (Extension (
207207 'overviewer_core.c_overviewer' ,
208208 c_overviewer_files ,
209209 include_dirs = ['.' , numpy_include ] + pil_include ,
210- library_dirs = [ python_lib_dir ] ,
210+ library_dirs = python_lib_dirs ,
211211 depends = c_overviewer_includes ,
212212 extra_link_args = []
213213))
You can’t perform that action at this time.
0 commit comments