Skip to content

Commit b68df0f

Browse files
committed
fix changelog loosing their description
1 parent 4994a8d commit b68df0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

winpython/wppm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def get_installed_packages(self, update: bool = False) -> list[Package]:
8080
self.pip = piptree.PipData()
8181
else:
8282
self.pip = piptree.PipData(utils.get_python_executable(self.target))
83-
pip_list = self.pip.pip_list()
83+
pip_list = self.pip.pip_list(full=True)
8484

8585
# return a list of package objects
86-
return [Package(f"{i[0].replace('-', '_').lower()}-{i[1]}-py3-none-any.whl") for i in pip_list]
86+
return [Package(f"{i[0].replace('-', '_').lower()}-{i[1]}-py3-none-any.whl", suggested_summary=i[2]) for i in pip_list]
8787

8888
def find_package(self, name: str) -> Package | None:
8989
"""Find installed package by name."""

0 commit comments

Comments
 (0)