Skip to content

Commit

Permalink
Fix: cengal/build_tools/find_and_prepare_cython_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
FI-Mihej committed Mar 21, 2024
1 parent b155cfd commit 7925e31
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ def extend_file_names_to_root_relative_paths(root_path: str, dir_path_obj: Relat
if owner_path:
result.append(file_name_or_path)
else:
result.append(path_join('.', get_relative_path_part(dir_path_obj(file_name), root_path)))
# result.append(path_join('.', get_relative_path_part(dir_path_obj(file_name), root_path)))
result.append(get_relative_path_part(dir_path_obj(file_name), root_path))

return result

Expand Down Expand Up @@ -335,7 +336,8 @@ def filter(filtering_entity: FilteringEntity, data):
for file in files:
if file_extension.lower() in (compilable_ext | headers_ext):
is_exctension = True
sub_result.append(path_join('.', get_relative_path_part(dir_path_obj(file), root_path)))
# sub_result.append(path_join('.', get_relative_path_part(dir_path_obj(file), root_path)))
sub_result.append(get_relative_path_part(dir_path_obj(file), root_path))

if file_extension.lower() in codegen_files_ext:
filename, _ = splitext(file)
Expand All @@ -346,7 +348,8 @@ def filter(filtering_entity: FilteringEntity, data):
print(get_exception())
else:
is_exctension = True
sub_result.append(path_join('.', get_relative_path_part(dir_path_obj(file), root_path)))
# sub_result.append(path_join('.', get_relative_path_part(dir_path_obj(file), root_path)))
sub_result.append(get_relative_path_part(dir_path_obj(file), root_path))

if file_extension.lower() in libs_ext:
try:
Expand Down

0 comments on commit 7925e31

Please sign in to comment.