python icon indicating copy to clipboard operation
python copied to clipboard

setup.py: support PEP 517 isolated builds

Open intelfx opened this issue 2 years ago • 0 comments

When doing a PEP 517 isolated build (e. g. when using pdm install), importing the project module normally is not possible. Instead, use importlib to load __init__.py directly and extract __version__ from there.

intelfx avatar Feb 04 '24 16:02 intelfx