-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python bindings: fix builds for pre-pyproject setuptools
openSUSE Leap only has setuptools 44, which predates support for pyproject. This is fine, we just need to add the relevant metadata to the setuptools invocation. To reduce the amount of places we duplicate this information, just load pyproject.toml and read the values out (this does add a dependency on toml for pre-3.11 Python versions but that's fine). Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=68", | ||
"setuptools>=61", | ||
"wheel", | ||
"cffi>=1.10.0" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters