[Distutils] [buildout] where does the demo egg come from in tests?
Chris Withers
chris at simplistix.co.uk
Tue Aug 12 21:14:30 CEST 2008
Maurits van Rees wrote:
> If I have followed the code trail correctly:
>
> - zc/recipe/egg/tests.py has a setUp(test) function.
>
> - This calls 'zc.buildout.tests.easy_install_SetUp(test)'.
>
> - That function calls create_sample_eggs from that same tests.py file
> in zc.buildout.
>
> - And that method creates some eggs on the fly.
Indeed, the code is in here:
http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/tests.py?rev=88919&view=auto
search for "def create_sample_eggs".
As far as documentation goes, that's about as unhelpful and opaque as it
gets :-(
Why on earth is this stuff obfuscated in this way?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Distutils-SIG
mailing list