On 22/10/11 16:09 +0700, bino oetomo wrote: > Dear Cédric Krier > On 10/22/2011 03:44 PM, Cédric Krier wrote: > > > >Yes you can. You must write a setup.py (like those on existing modules) and > >run: `python setup.py develop` (you need perhaps to be root). This will > >register your local directory as a module. > > > Thankyou for your enlightment. > But, since this is my very first time on try writing a Tryton module > ... writing a setup.py is beyond my lame brain capability.
Normally copy one and just change module name should work. > for now , i just re install trytond, remove the modules egg direcory. > and using a small python script i just walk trough all modules > tar.gz ... extract the file to temp dir , walk that dir loking for > *.egg , and extract that egg file to modules dir. > > It's dirty trick, but it work. > now my basic tryton installation have it's modules in it > trytond/modules dir. > > Meanwhile , I'm trying to write a module ... ofcourse I have bunch > of question .. but I'll try google first. > Maybe I'll post another question about it. > Is it better I post it here ? or is it must be goes to dev list ? > it'll realy a rookie questions. It really depends on the questions. When it is technical and about coding best in tryton-dev@, when it is about usage, business logic etc. best is tryton@. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgp2bFFWfwMPH.pgp
Description: PGP signature
