import babel in setup.py breaks linux installs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
The setup.py file contains both an "import babel" and a babel requirement.
When running the setup, babel should be installed as a dependency and should not be required by the setup itself.
This seems to be done to workaround a bug in windows with py2exe.
However on Linux we don't need this workaround : the workaround for windows is turned into a bug for linux.
I suggest to move the "import babel" in the "if" block for windows (as it was probably intended to be done) :
setup.py:41 :
if os.name == 'nt':
import babel
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 61 lines (+18/-20)1 file modifiedsetup.py (+18/-20)
Changed in openobject-server: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
crosslinking an issue in the buildout recipe which is related to this problem : /bugs.launchpad .net/anybox. recipe. openerp/ +bug/1014066
https:/