[Cubicweb] Move sources to a sub-directory

Christophe de Vienne christophe at unlish.com
Mon Sep 1 09:45:11 CEST 2014


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.


Christophe



More information about the Cubicweb mailing list