On Jan 5, 2012, at 11:56 AM, Jean-Michel FRANCOIS wrote:

> you can check my skels on github.com/toutpt/toutpt.zopeskel
> 
> I have done this to remove stuf like readme.txt setup.cfg...

os.remove, even better :D

Clayton
-- 
Six Feet Up, Inc. | Where sophisticated web projects thrive
Direct Line: +1 (317) 861-5948 x603
Email: clay...@sixfeetup.com
Try Plone 4 Today at: http://plone4demo.com




> Le 5 janv. 2012 à 17:48, Clayton Parker <clay...@sixfeetup.com> a écrit :
> 
>> On Jan 4, 2012, at 4:24 PM, Encolpe Degoute wrote:
>>> In the context of a plone site factory where very few people are
>>> maintaining some tenth different sites we are looking for a solution to
>>> manage them consistently. We create a zopeskel from zopeskel 2 to be
>>> able to generate quickly new buildout and to upgrade them smoothly.
>>> 
>>> We have a folder with several modules with parts to configure LDAP, CAS,
>>> SSO, deco, ploneide and so on. They are activated during the
>>> configuration via paster. After the buildout generation we want to
>>> remove unused file from this folder and we don't find a way to do it
>>> with paster.
>>> 
>>> Have any clue to do this or can we do it with zopeskel 3 and templer ?
>> 
>> 
>> I think your only option is to use the `post` method in your custom
>> paster template. Here you can inspect the variables and then act on them
>> using `subprocess` to delete the unneeded files. This is what I have done
>> in the past to get around the issue.
>> 
>> Clayton
>> --
>> Six Feet Up, Inc. | Where sophisticated web projects thrive
>> Direct Line: +1 (317) 861-5948 x603
>> Email: clay...@sixfeetup.com
>> Try Plone 4 Today at: http://plone4demo.com
>> _______________________________________________
>> ZopeSkel mailing list
>> zopes...@lists.plone.org
>> https://lists.plone.org/mailman/listinfo/plone-zopeskel
> _______________________________________________
> ZopeSkel mailing list
> zopes...@lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-zopeskel

_______________________________________________
ZopeSkel mailing list
zopes...@lists.plone.org
https://lists.plone.org/mailman/listinfo/plone-zopeskel

Reply via email to