On 2009-04-24, Roger Ineichen <d...@projekt01.ch> wrote: > > I think there are different things wrong. The first > error looks like a difference in linux and windows > output: > ---------------------------------------------------------------------- > File "d:\eggdev\source\zc\zc.buildout\trunk\src\zc\buildout\buildout.txt", > line 55, in buildout.txt > Failed example: > ls(sample_buildout, 'eggs') > Expected: > setuptools.egg > - zc.buildout.egg > Got: > - setuptools.egg-link > - zc.buildout.egg
Actually, this very same difference is what I'm getting on OSX. So there's some deeper problem here. I get it with both python 2.4 and 2.5, btw. Perhaps the way setuptools is installed in our python environment? When testing with python2.4, my bin/buildout looks like this: ----- #!/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python import sys sys.path[0:0] = [ '/Users/reinout/svn/zc.buildout/src', '/Users/reinout/.buildout/eggs/zope.testing-3.7.3-py2.4.egg', '/Users/reinout/.buildout/eggs/zope.interface-3.5.1-py2.4-macosx-10.5-i386.egg', '/opt/local/lib/python2.4/site-packages', ] import zc.buildout.buildout if __name__ == '__main__': zc.buildout.buildout.main() ------ And my bin/test: ------ #!/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python import sys sys.path[0:0] = [ '/Users/reinout/svn/zc.buildout/src', '/Users/reinout/svn/zc.buildout/zc.recipe.egg_/src', '/Users/reinout/.buildout/eggs/zope.testing-3.7.3-py2.4.egg', '/Users/reinout/.buildout/eggs/zope.interface-3.5.1-py2.4-macosx-10.5-i386.egg', '/opt/local/lib/python2.4/site-packages', ] import os sys.argv[0] = os.path.abspath(sys.argv[0]) os.chdir('/Users/reinout/svn/zc.buildout/parts/test') import zope.testing.testrunner if __name__ == '__main__': zope.testing.testrunner.run([ '--test-path', '/Users/reinout/svn/zc.buildout/src', '--test-path', '/Users/reinout/svn/zc.buildout/zc.recipe.egg_/src', ]) ----- Does that give a hint? Reinout -- Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org Software developer at http://www.thehealthagency.com "Military engineers build missiles. Civil engineers build targets _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )