[Cubicweb] Move sources to a sub-directory

Denis Laxalde denis.laxalde at logilab.fr
Mon Sep 1 09:51:39 CEST 2014


Christophe de Vienne a écrit :
>
> Le 01/09/2014 09:25, Denis Laxalde a écrit :
>> Christophe de Vienne a écrit :
>>> For example, I would like this sequence to be enough to start working on
>>> pyramid_cubicweb and cubicweb sources (which is my current need):
>>>
>>>      hg clone xxx/cubicweb
>>>      hg clone xxx/pyramid_cubicweb
>>>      mkvirtualenv devenv
>>>      pip install -e xxx/cubicweb
>>>      pip install -e xxx/pyramid_cubicweb
>>>
>>> If, later, I have to patch pyramid itself, or yams :
>>>
>>>      hg clone xxx/yams
>>>      pip install -e yams
>>>
>>> Easy to do for anybody, especially new comers. And even more easy
>>> because most python developers works like this today.
>>
>> I also really like this kind of workflow and the idea to only checkout
>> what you need to hack on. Even better if it could be combined with
>> system/distribution packages, not just pypi.
>
> It can, you just have to use the "--system-site-packages" switch of
> virtualenv.

Even for cubes in /usr/share/cubicweb/cubes?


-- 
Denis Laxalde
Logilab         http://www.logilab.fr



More information about the Cubicweb mailing list