File: list-packages

package info (click to toggle)
python-pkgconfig 1.5.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104 kB
  • sloc: python: 156; makefile: 4
file content (6 lines) | stat: -rwxr-xr-x 118 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#!/usr/bin/python3

import pkgconfig

if len(pkgconfig.list_all()) <= 0:
   raise Exception('Error listing packages')