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

Pip install odoo only works with editable (-e) installs #117248

Open
sbidoul opened this issue Mar 30, 2023 · 2 comments
Open

Pip install odoo only works with editable (-e) installs #117248

sbidoul opened this issue Mar 30, 2023 · 2 comments
Labels
Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc)

Comments

@sbidoul
Copy link
Contributor

sbidoul commented Mar 30, 2023

Impacted versions: all

Reopening #16700 that was closed by a bot. The issue remain valid for master.

Steps to reproduce:

In the Odoo root directory, with a recent pip and setuptools, run pip wheel . and/or pip install ..

Current behavior:

The resulting wheel file does only contain the base addon.
The resulting installation does not include the addons.

Expected behavior:

The wheel should include all addons in odoo/addons. The installation should include all addons in site-packages/odoo/addons.

Solution:

A robust backward compatible solution is proposed in #44001.

@d-fence

@llacroix
Copy link

llacroix commented Mar 31, 2023

The solution in #44001 seems good except how would it work on windows? I could be wrong but I'm not sure symlinks would be working on windows. I guess it should at least not crash on windows and at least improve the state of things on Unix like OSes.

@sbidoul
Copy link
Contributor Author

sbidoul commented Mar 31, 2023

The solution in #44001 seems good except how would it work on windows? I could be wrong but I'm not sure symlinks would be working on windows. I guess it should at least not crash on windows and at least improve the state of things on Unix like OSes.

Symlinks work on NTFS if the user has the adequate permissions.

@Feyensv Feyensv added the Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc) label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc)
Projects
None yet
Development

No branches or pull requests

3 participants