WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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