Skip to content
Snippets Groups Projects
  • Christophe Monniez's avatar
    7eec6b36
    [FIX] packaging: allow install on fedora29 · 7eec6b36
    Christophe Monniez authored
    Fedora 29 switched to python 3.7. It seems that there is no official
    way to build a RPM package that could works with 3.6 and 3.7.
    Building two different packages for each version could open the pandora
    box of packaging.
    
    With this commit an ugly hack is used: if python3.7 is found, the odoo
    directory is symlinked into its site-packages dir.
    
    fixes #30579
    
    closes odoo/odoo#30618
    7eec6b36
    History
    [FIX] packaging: allow install on fedora29
    Christophe Monniez authored
    Fedora 29 switched to python 3.7. It seems that there is no official
    way to build a RPM package that could works with 3.6 and 3.7.
    Building two different packages for each version could open the pandora
    box of packaging.
    
    With this commit an ugly hack is used: if python3.7 is found, the odoo
    directory is symlinked into its site-packages dir.
    
    fixes #30579
    
    closes odoo/odoo#30618
postinstall.sh 1.77 KiB