mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-10 02:22:16 +00:00
Fix building on windows.
This commit is contained in:
parent
d1a473a069
commit
9f8eaa6cd4
@ -128,3 +128,11 @@ class BuildExtension(build_ext):
|
|||||||
for so in lib_so:
|
for so in lib_so:
|
||||||
print(f"Copying {so} to {self.build_lib}/")
|
print(f"Copying {so} to {self.build_lib}/")
|
||||||
shutil.copy(f"{so}", f"{self.build_lib}/")
|
shutil.copy(f"{so}", f"{self.build_lib}/")
|
||||||
|
|
||||||
|
print(
|
||||||
|
f"Copying {kaldifeat_dir}/kaldifeat/python/kaldifeat/torch_version.py to {self.build_lib}/kaldifeat" # noqa
|
||||||
|
)
|
||||||
|
shutil.copy(
|
||||||
|
f"{kaldifeat_dir}/kaldifeat/python/kaldifeat/torch_version.py",
|
||||||
|
f"{self.build_lib}/kaldifeat",
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user