openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00730
import babel error in setup.py
Hi,
While trying to install 6.1 I get a babel import error, because there is an
import babel in the middle of the setup.py. This is not a good packaging
practice because the setup.py file is expected to *define* dependencies, and not
*use* dependencies.
The best thing is to execute the minimal amount of code in setup.py. With
distutil2 now there is no more executed code, juste a static setup.cfg file with
a small domain specific language to handle complex requirements (windows, linux,
32/64 bits, etc...).
Is this babel thing absolutely necessary?
Christophe
Follow ups