summaryrefslogtreecommitdiff
path: root/lang/python/setup.py.shim
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-18 01:13:22 +0800
committerJeffery To <jeffery.to@gmail.com>2023-04-24 16:20:33 +0800
commit5156c0c82bcb18481bf588ba4b1ff67c12422a80 (patch)
treedfef7a78154bb50e5ae24ab39aff0a624db78949 /lang/python/setup.py.shim
parent705176cd6ab47ff51ca75a9f05e97c2e4804f6cc (diff)
python: Add proper support for pyproject.toml-based builds
This removes the changes made in 61f202c0170785addbbc449e4de61cc5886f0833 and adds actual support for pyproject.toml-based (PEP 517) builds of Python packages. Packages can force the use of the old build process by setting PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1; this should only be a temporary workaround until the package can be updated/fixed to use the new build process. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/setup.py.shim')
-rw-r--r--lang/python/setup.py.shim6
1 files changed, 0 insertions, 6 deletions
diff --git a/lang/python/setup.py.shim b/lang/python/setup.py.shim
deleted file mode 100644
index b309abc02..000000000
--- a/lang/python/setup.py.shim
+++ /dev/null
@@ -1,6 +0,0 @@
-import os
-import setuptools
-
-# FIXME: see about getting rid of PY_PKG_VERSION asap when setuptools handles this correctly
-if __name__ == "__main__":
- setuptools.setup(version=os.environ['PY_PKG_VERSION'])