8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9449f37 commit d664f0dCopy full SHA for d664f0d
winpython/wppm.py
@@ -326,10 +326,10 @@ def get_installed_packages(self):
326
wininst.append(pack)
327
# Include package installed via pip (not via WPPM)
328
try:
329
- if os.path.dirname(sys.executable) == self.target and 1==2:
+ if os.path.dirname(sys.executable) == self.target:
330
# direct way: we interrogate ourself
331
- # avoid as it work only once (bug): result is never updated
332
import pip
+ pip.utils.pkg_resources = imp.reload(pip.utils.pkg_resources)
333
pip_list = [(i.key, i.version)
334
for i in pip.get_installed_distributions()]
335
else:
0 commit comments