Jim Fulton <[EMAIL PROTECTED]> writes: > On Oct 30, 2007, at 6:34 PM, Ross Patterson wrote: > >> I have python-setuptools installed through my OS and zc.buildout >> installed with easy_install. I'd like to be able to ignore these when >> running the zc.buildout tests (or tests for other projects that handle >> distributions) so that the system packages don't interfere with the >> testing environment. >> >> Any ideas? > > Your test runner could arrange that site-packages is excluded from > sys.path. > > I plan to add an option to the various egg-related recipes, including > the test runner recipe, to exclude site-packages when looking for > eggs.
Well then I think I'll wait for such. Thanks. >> Should the zc.buildout tests be modified or should my >> system? > > Probably. Note that the zc.buildout tests only work when run from a > zc.buildout checkout. I need to fix this. FWIW, this is how I was running them and my system installed packages were still causing test failures, unless I'm misunderstanding things. Ross _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
