Am 04.09.2014 08:39 schrieb "Udo Spallek" <uspal...@virtual-things.biz>:
>
> 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.

Thanks udo,
i know of the eggs, that is also a nice way, just that again, you have to
know the installation order of your modules prior to installing the first
module to not have pip fetching the pypi, and its still just not as simple
as one 'ADD' command to copy the whole project on the image..
I think i will just stick to my custom branch until rebase fails or maybe
further :)

Regards,
Simon

>
> 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

Reply via email to