Hi Simon, Thu, 4 Sep 2014 08:09:20 +0200 Simon Klemenc <simon.klem...@gmail.com>: >Am 04.09.2014 02:19 schrieb "Pierre-Louis Bonicoli" < >pierre-louis.bonic...@gmx.fr>: >> On 04/09/2014 01:04, Simon Klemenc wrote: >> > You are right, this is more of a first-world-problem. Its >> > absolutely doable to add a setup.py from the template in hg but >> > when doing only slight modifications to the view, workflow, >> > models,... or splitting modules it makes life easier to just work >> > inside a dedicated directory, and have trytond behave more like a >> > framework... >> Is your goal to use a Tryton module located outside the >> "trytond/modules" directory ? >Yes, the goal is to be able to manage the large number of modules in a >freely defined folder-structure: custom, tryton, 3rd-party maybe, and >to have it working like an encapsulated "app"...
you can put all Tryton module *packages* in a persistent volume outside docker, maybe using fig. From inside docker you install the module in editable mode:: $ pip install -e outsde/volume/tryton/party $ pip install -e outsde/volume/tryton/account … The ``-e`` is pips editable mode, which links (not install) the package source to the correct targets. So you can edit your Tryton modules outside docker and they'll persist a restart. Regards Udo -- _____________________________ virtual things Preisler & Spallek GbR München - Aachen Windeckstr. 77 81375 München Tel: +49 (89) 710 481 55 Fax: +49 (89) 710 481 56 i...@virtual-things.biz http://www.virtual-things.biz
signature.asc
Description: PGP signature