Tarek Ziadé wrote:
On Fri, Sep 11, 2009 at 3:23 PM, Chris Withers
wrote: Tarek Ziadé wrote:
I tested and it works for me with distutils@2.6 and I tried with the current trunk: Well, something must be different, have you double checked your sys.path?
C:\LocalSVN\errorhandler\branches\docs>python -c "import sys; print '\n'.join(sys.path)"
C:\WINDOWS\system32\python25.zip
That's you python 2.5
Sorry, yes, forgot to use 2.6 for those first two bits, doesn't make any difference...
Distribution.get_command_obj(): creating 'build' command object exclude_pattern: applying regex r'^build\.*' removing buildout.cfg
That must be a win32 specific bug then on the way globs are translated (\ should be escaped) with regular expressions. the exclude built on my mac os is :
'^build/.*'
which is correct. I will try on a vmware as soon I get a chance,
Until then you can fill an issue in bugs.python.org. I'll fix it as soon as I have a failing example in a unit test
http://bugs.python.org/issue6884 cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk