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

Add editable install script #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented Jan 19, 2024

This is a much simpler and robust installation method.

The drawback is that it is a little bit slow when using build isolation on large repos, because pip does not cache build environments yet.

So here we use --no-build-isolation, but there is a small chance that some third party dependency would not work in this mode if it requires a build system that is not installed.

To address the performance issue, we use uv.

This mode is off by default, and is enabled with an undocumented and temporary environment variable: OCA_INSTALL_ADDONS_MODE=editable.

@sbidoul sbidoul marked this pull request as ready for review November 16, 2024 13:09
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

Successfully merging this pull request may close these issues.

1 participant