Skip to content

Commit 0acf8b0

Browse files
committed
REmove abi3 suffix on windows
1 parent 879ab0b commit 0acf8b0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

hatch_rs/structs.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ def execute(self):
152152

153153
# Copy each file to the current directory
154154
if sys_platform == "win32":
155-
if self.abi3:
156-
library_name = f"{self.module}\\{file_name}.abi3.pyd"
157-
else:
158-
library_name = f"{self.module}\\{file_name}.pyd"
155+
library_name = f"{self.module}\\{file_name}.pyd"
159156
self._libraries.append(library_name)
160157
copy_command = f"copy {file} {cwd}\\{library_name}"
161158
else:

hatch_rs/tests/test_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_basic(self, project_folder):
3535

3636
# assert built
3737
if platform == "win32":
38-
assert "project.abi3.pyd" in listdir(f"hatch_rs/tests/{project_folder}/project")
38+
assert "project.pyd" in listdir(f"hatch_rs/tests/{project_folder}/project")
3939
else:
4040
assert "project.abi3.so" in listdir(f"hatch_rs/tests/{project_folder}/project")
4141

0 commit comments

Comments
 (0)