This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Adam.Matan
Recipients Adam.Matan, dstufft, eric.araujo
Date 2014-06-04.07:43:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401867835.25.0.432205285247.issue21657@psf.upfronthosting.co.za>
In-reply-to
Content
Abstract:
Calling pip.get_installed_distributions() from a directory with a setup.py file returns a list which does not include the package(s) listed in the setup.py file.

Steps to reproduce:

1. Create a virtual environment and activate it.
2. Download any python git project with a setup.py file to a directory (e.g. git clone https://github.com/behave/behave.git /tmp/behave)
3. Install the project using python setup.py install.
4. Call pip.get_installed_distributions() from the directory which contains the setup.py file.
5. Call pip.get_installed_distributions() from outside the directory which contains the setup.py file.
6. The results from 4 and 5 differs.

See also:

http://stackoverflow.com/questions/739993/how-can-i-get-a-list-of-locally-installed-python-modules/23885252?noredirect=1#comment37045322_23885252
History
Date User Action Args
2014-06-04 07:43:55Adam.Matansetrecipients: + Adam.Matan, eric.araujo, dstufft
2014-06-04 07:43:55Adam.Matansetmessageid: <1401867835.25.0.432205285247.issue21657@psf.upfronthosting.co.za>
2014-06-04 07:43:55Adam.Matanlinkissue21657 messages
2014-06-04 07:43:54Adam.Matancreate