Skip to content

Commit 850c257

Browse files
author
stonebig
committed
workaround a pip bug
1 parent caf29c8 commit 850c257

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

winpython/wppm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,9 @@ def get_installed_packages(self):
326326
wininst.append(pack)
327327
# Include package installed via pip (not via WPPM)
328328
try:
329-
if os.path.dirname(sys.executable) == self.target:
329+
if os.path.dirname(sys.executable) == self.target and 1==2:
330330
# direct way: we interrogate ourself
331+
# avoid as it work only once (bug): result is never updated
331332
import pip
332333
pip_list = [(i.key, i.version)
333334
for i in pip.get_installed_distributions()]

0 commit comments

Comments
 (0)