Menu

#1286 egg-links are not parsed

open
nobody
None
5
2011-03-01
2011-02-08
No

I use virtualenv and when you install a python module from sources (eg. with "pip install -e") it checkout the sources in $VENV_HOME/src and it create an egg-link file in $VENV_HOME/lib/python2.x/sites-packages.
When you add the virtualenv into the Pydev interpreters list, Pydev does not parse the egg-link files and you have to add one by by the folder pointed by the file.

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2011-02-25
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-02-25

    Can you provide the actual commands you used for pip so that I can test it (I must say I just tested pip without the -e extension, so, I'd like some quick example I can actually reproduce so that I can check what it does and how to fix it).

     
  • Noir-Bizarre

    Noir-Bizarre - 2011-03-01
    • status: pending --> open
     
  • Noir-Bizarre

    Noir-Bizarre - 2011-03-01

    I installed django-plugins (https://bitbucket.org/sirex/django-plugins) with the following command:

    pip install -e hg+https://bitbucket.org/sirex/django-plugins#egg=django-plugins

     
  • Piotr Dobrogost

    Piotr Dobrogost - 2012-02-26

    From what I see the install -e command in addition to creating egg-link file adds an entry to the easy_install.pth file so PyDev should be able to "import" this package. However egg-link files should be parsed by PyDev because it's the official Python's mechanism to extend PYTHONPATH.

     
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.