Skip to content

Commit 4a87d77

Browse files
authored
Conditionally install patchelf (#225)
Set dev dependencies to conditionally install patchelf. On the Windows worker on GitHub patchelf was failing to build. On the other hand it is useful on other platforms.
1 parent 4f013a8 commit 4a87d77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ dependencies = [
4747

4848
[project.optional-dependencies]
4949
dev = [
50-
"maturin",
50+
"maturin[patchelf] ; platform_system != 'Windows'",
51+
"maturin ; platform_system == 'Windows'",
5152
"mypy",
5253
"pylint",
5354
"pytest",

0 commit comments

Comments
 (0)