@@ -182,7 +182,7 @@ def to_string(self):
182182
183183for file in files :
184184 content = file .to_string ()
185- path = f'src/include/duckdb_python/import_cache/modules/{ file .file_name } '
185+ path = f'src/duckdb_py/ include/duckdb_python/import_cache/modules/{ file .file_name } '
186186 import_cache_path = os .path .join (script_dir , '..' , path )
187187 with open (import_cache_path , "w" ) as f :
188188 f .write (content )
@@ -237,7 +237,9 @@ def get_root_modules(files: List[ModuleFile]):
237237
238238"""
239239
240- import_cache_path = os .path .join (script_dir , '..' , 'src/include/duckdb_python/import_cache/python_import_cache.hpp' )
240+ import_cache_path = os .path .join (
241+ script_dir , '..' , 'src/duckdb_py/include/duckdb_python/import_cache/python_import_cache.hpp'
242+ )
241243with open (import_cache_path , "w" ) as f :
242244 f .write (import_cache_file )
243245
@@ -252,7 +254,7 @@ def get_module_file_path_includes(files: List[ModuleFile]):
252254module_includes = get_module_file_path_includes (files )
253255
254256modules_header = os .path .join (
255- script_dir , '..' , 'src/include/duckdb_python/import_cache/python_import_cache_modules.hpp'
257+ script_dir , '..' , 'src/duckdb_py/ include/duckdb_python/import_cache/python_import_cache_modules.hpp'
256258)
257259with open (modules_header , "w" ) as f :
258260 f .write (module_includes )
0 commit comments