[Distutils] egg-links are added to end of sys.path?

Devin Bayer l at t-0.be
Tue Dec 14 19:07:19 CET 2010


Hello. I have been struggling a bit with using buildout for developing eggs and would appreciate some advice. "." is added to the end of sys.path, so the older version of the package (installed in eggs/) is used instead. If I add the following code, it works. But I feel like I'm missing something and this should not be needed:

======================
[python]
initialization = 
    import sys
    sys.path.insert(0, '.')
======================

Any ideas?

Thanks,
Devin

=== my buildout.cfg ===
[buildout]
parts = python
develop = .

[python]
recipe = z3c.recipe.scripts
eggs = myegg
======================


More information about the Distutils-SIG mailing list