Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation. What type of editable installs hatch supports? #1629

Closed
h-mayorquin opened this issue Jul 19, 2024 · 2 comments
Closed

Documentation. What type of editable installs hatch supports? #1629

h-mayorquin opened this issue Jul 19, 2024 · 2 comments

Comments

@h-mayorquin
Copy link

Coming from here:
https://discuss.python.org/t/pep-660-support-and-ides/13878

It seems that static analysis tools do not support editable install mechanisms that work with import hooks.

For packages that were built with setuptools, the clasical behavior that works well with static analysis tools can be enabled by doing:

pip install -e . --config-settings editable_mode=compat

I am consdering changing from setuptools to hatch for some projects but it would be nice to see in the documentation if hatch editable mode will work with static analysis tools. The only reference in the documentation to editable mode I could find does not seem to clarify much.

In short, what type of mechanism does hatch uses to provide editable installs? do they work with static analysis tools? Could this be added to the documentation?

@ofek
Copy link
Collaborator

ofek commented Jul 19, 2024

@h-mayorquin
Copy link
Author

Thanks a bunch for your quick response. It is already on the documentation then so this is both answered and solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants