Menu

buildout eggs into python path

2011-05-18
2013-03-15
  • Tim Diggins

    Tim Diggins - 2011-05-18

    Is there an easy way these days to add buildout generated eggs ( a folder of unzipped eggs) to the python path for a project?

    buildout generates a "py" executable which has all the paths in it, by pydev won't recognize it as a valid interpreter.

    I've found a number of references online which are all pretty old, talking about buildout modifications, but wondered if there was direct support form pydev now.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-05-19

    There's no real specific support in PyDev, but have you checked: http://pypi.python.org/pypi/pb.recipes.pydev/ ? It seems like it does exactly what you want…

    Cheers,

    Fabio

     
  • Tim Diggins

    Tim Diggins - 2011-06-06

    I've now tried that - it was really hard to get working, so I edited the .pydevproject by hand.

    However the generic requirement is to allow for a configuration of pythonpath that allows you to add not just individual eggs or source folders, but a folder of eggs and source folders (an unzipped egg seems to be identical to a source folder).

    is that a possibility? (maybe you could make it only check the folder on demand? Or just "add all eggs and unzipped eggs in this folder")

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.