Skip to content

Commit 3b5c1de

Browse files
authored
fix: make WMI windows only dependency (#105)
2 parents f138e8b + 9c93f7e commit 3b5c1de

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/105.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: make `WMI` windows only dependency

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131
"ansys-pythonnet>=3.1.0rc1",
3232
"ansys-tools-path>=0.3.1",
3333
"tqdm>=4.65.0",
34-
"WMI>=1.4.9",
34+
"WMI>=1.4.9; platform_system=='Windows'",
3535
]
3636
[project.optional-dependencies]
3737
doc = [

0 commit comments

Comments
 (0)