pyproject.toml -> add env marker for linux-aarch64 to use py-lib3mf instead of unavailable official lib3mf

This commit is contained in:
jdegenstein 2026-02-18 22:17:15 -06:00 committed by GitHub
parent cb155f79d1
commit a16deee04b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,9 @@
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
@ -42,13 +40,18 @@ dependencies = [
"anytree >= 2.8.0, < 3",
"ezdxf >= 1.1.0, < 2",
"ipython >= 8.0.0, < 10",
"lib3mf >= 2.4.1",
"ocpsvg >= 0.6, < 0.7",
"ocp_gordon >= 0.2, < 0.3",
"trianglesolver",
"sympy",
"scipy",
"webcolors ~= 24.8.0",
# Install standard official lib3mf on everything EXCEPT linux aarch64
"lib3mf >= 2.4.1; sys_platform != 'linux' or platform_machine != 'aarch64'",
# Install py-lib3mf ONLY on linux aarch64
"py-lib3mf >= 2.4.1; sys_platform == 'linux' and platform_machine == 'aarch64'",
]
[project.urls]