mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Fix using setuptools.build_meta backend
Add the current directory path to `sys.path` explicitly, in order to fix using the correct `setuptools.build_meta` backend. The legacy backend is only meant to be used implicitly for packages that have not been ported to PEP 517 builds yet, and using it explicitly is invalid. The correct solution here is to set the import path correctly.
This commit is contained in:
@@ -76,9 +76,7 @@ requires = [
|
||||
"requests >= 2.26.0",
|
||||
"sip == 6.10.0",
|
||||
]
|
||||
# Using "setuptools.build_meta:__legacy__" instead of "setuptools.build_meta" for now.
|
||||
# Allows to have access to the folder on the search path when building, like before.
|
||||
build-backend = "setuptools.build_meta:__legacy__"
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
exclude = ["src", "buildtools*", "etgtools", "sphinxtools", "src", "unittests"]
|
||||
|
||||
Reference in New Issue
Block a user