سؤال

I have just installed Tryton on Ubuntu 12.0.4 from the PPA.

I want to be able to interface directly with Tryton in my Python code (thereby bypassing the frontend GUI client). However, there appears to be no useful information on how to use Tryton, let alone how to programatically interface to Tryton and its modules.

In desperation, I decided to locate the source, so I could look at the code and familiarize myself with how it works. The problem however, is that I can't locate the source after the install (even after running find / -type f -name 'tryton*' 2>/dev/null) on my box.

My questions are:

  1. How do I locate the source for Tryton after I have installed it using apt as outlined above?
  2. Is there a resource that shows how to interface with a Tryton module? (I am already aware of this snippet, however, I want to know how to get the FULL API for a module).
هل كانت مفيدة؟

المحلول

The proteus library, may be what you're looking for.

Also, checkout the official docs.

نصائح أخرى

You can just do

dpkg -L tryton

to see the contents of the package.

And, I'm not sure, but may be that

is what you are looking for?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top