List packages of a given SUSE product
-
(optional) Create and enter virtual Python environment:
$ cd <my-project-dir> $ python3 -m venv ./venv $ source venv/bin/activate
Hint: You could leave the venv via:
(venv)$ deactivate
-
Install required dependencies:
$ cd <my-project-dir> $ pip3 install -r requirements.txt
$ python3 suse-scc-packages.py -h
usage: suse-scc-packages.py [-d <output_directory>]
General:
-h, --help print this help
Optional:
-d, --directory=DIR create CSV file in output directory (instead of stdout)
$ python3 suse-scc-packages.py
$ python3 suse-scc-packages.py -d /tmp