Skip to content

Commit 42656b8

Browse files
author
stonebig
committed
get wheel packages list via pip only
1 parent 4103eb0 commit 42656b8

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
@@ -312,7 +312,8 @@ def create_file(self, package, name, dstdir, contents):
312312
def get_installed_packages(self):
313313
"""Return installed packages"""
314314
# Packages installed with WPPM
315-
wppm = [Package(logname[:-4]) for logname in os.listdir(self.logdir)]
315+
wppm = [Package(logname[:-4]) for logname in os.listdir(self.logdir)
316+
if '.whl.log' not in logname ]
316317
# Packages installed with distutils wininst
317318
wininst = []
318319
for name in os.listdir(self.target):

0 commit comments

Comments
 (0)