2014-04-28 9:45 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > On 28 Apr 09:19, Guillem Barba Domingo wrote: >> Hi, >> I think it would be useful to have Python library dependencies info in >> tryton.cfg >> I'm thinking in cases like "stdnum" in party module (it should be "extra >> depends") and "retrofix" in account_bank_statement module (it is third >> party module, but it's only an example of hard dependency). >> >> I'm thinking to have a notation like requirements.txt >> A fake example: >> version=3.2.0 >> depends: >> ir >> res >> extra_depends: >> xxx >> xml: >> yyy.xml >> python_depends: >> retrofix==0.3 >> python_extra_depends: >> stdnum>=1.0 >> >> The setup.py could use it to generate it's own dependencies, like it does >> with modules. >> The gain is that these info is more accessible if you don't install modules >> as packages. For example, it will be very useful to generate a >> requirements.txt for all module dependencies. >> >> what do you think? > > Useless.
Usefull to generate values in setup file, similar get version module in setup.