Skip to content

Conversation

intelfx
Copy link

@intelfx intelfx commented Feb 4, 2024

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 intelfx force-pushed the work/setuppy-isolation branch from 1bee928 to 71d2b14 Compare February 4, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant