On 29/10/14 08:38, Cédric Krier wrote:
On 29 Oct 14:26, Guillem Barba Domingo wrote:
Hi,
I want to get two dependency graphs from a module:
- module dependencies: not only the first level (or the dependencies
defined in tryton.cfg) but all its dependencies recursively (dependencies
of its dependencies)
- module dependent: all modules that depend (directly or indirectly) from
it (painting different installed and uninstalled).
I'm thinking to implement it as a report done with pydot (because I have
some scripts from when I worked with OpenERP) which it is already a (extra)
dependency of trytond.
I can also add two "relates".
Are you interested to have it in the core (trytond package)? if not, I will
do it in a separate module.
I don't because it is the magic of dependencies, you don't have to care
about upstream.
Maybe is not important the dependences graph, I am agree with Cedk, but
I am having problems in 3.4 that in 3.2 does not, it seems that Tryton
is not resolving fine dependences with new version on terminal.
In a fresh 3.4 install, with just new database (no modules installed on
database), but yes on filesystem.
I trying to install account module
$trytond -c /home/user/trytond.conf -d DEMO1 -u account
Exception: Missing dependencies: ['currency', 'company', 'party']
For example currency module is installed on my filesystem:
/home/trytonpsk/.virtualenvs/tryton34/lib/python2.7/site-packages/trytond/modules/currency/__init__.py
/home/trytonpsk/.virtualenvs/tryton34/lib/python2.7/site-packages/trytond/modules/currency/__init__.pyc
/home/trytonpsk/.virtualenvs/tryton34/lib/python2.7/site-packages/trytond/modules/currency/currency.py
/home/trytonpsk/.virtualenvs/tryton34/lib/python2.7/site-packages/trytond/modules/currency/currency.pyc
/home/trytonpsk/.virtualenvs/tryton34/lib/python2.7/site-packages/trytond/modules/currency/currency.xml
So, next I try:
$trytond -c /home/user/trytond.conf -d DEMO1 -u currency
And tryton to install, Ok this module,
so ¿Am I missing new way for install modules dependences on terminal?.
Oscar Alvarez