Skip to content

Commit

Permalink
Update Windows package getter
Browse files Browse the repository at this point in the history
    * The windows_helper module from scancode is not available on pypi

Signed-off-by: Jono Yang <jyang@nexb.com>
  • Loading branch information
JonoYang committed Jun 26, 2021
1 parent 91074cf commit f9931de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scanpipe/pipes/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
# Visit https://github.com/nexB/scancode.io for support and download.

from packagedcode import windows_helpers


def package_getter(root_dir, **kwargs):
"""
Yield installed package objects.
"""
return []
packages = windows_helpers.get_installed_programs(root_dir)
for package in packages:
yield package.purl, package

0 comments on commit f9931de

Please sign in to comment.