[Distutils] [zc.buildout] running in safe mode

Tarek Ziadé ziade.tarek at gmail.com
Fri Oct 3 00:38:56 CEST 2008


On Fri, Oct 3, 2008 at 12:37 AM, Ian Bicking <ianb at colorstudy.com> wrote:
>> Can you be a little more specific?
>
> Instead of using open(), etc, to write files, there's an instance of Maker
> which holds some of the settings (--interactive, --simulate, a base
> directory).  Then you do all your file operations like:
>
>  maker.ensure_file('path/to/file.txt', content)
>
> If that file exists with different content then the user gets asked about
> what to do.

That is basically what I wanted to introduce


More information about the Distutils-SIG mailing list