mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Merge pull request #2732 from mgorny/setuptools-backend
Fix using `setuptools.build_meta` backend
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"]
|
||||
|
||||
3
setup.py
3
setup.py
@@ -20,6 +20,9 @@ from setuptools.command.bdist_egg import bdist_egg as orig_bdist_egg
|
||||
from setuptools.command.sdist import sdist as orig_sdist
|
||||
from setuptools.command.bdist_wheel import bdist_wheel as orig_bdist_wheel
|
||||
|
||||
# Alter the path so that buildtools can be imported from the current directory.
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
|
||||
import buildtools.version as version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user