A simple command line tool to generate scm-source.json
files according to the STUPS documentation.
$ sudo pip3 install --upgrade scm-source
$ scm-source # generate scm-source.json in current directory
$ scm-source -f target/scm-source.json
$ scm-source --author "John Doe"
$ scm-source my/path/to/git/repo -f output/scm-source.json
You can also use it from your Python scripts:
from scm_source import generate_scm_source
generate_scm_source('foo/bar/scm-source.json', 'John Doe')
Uploading a new version to PyPI:
$ ./release.sh <NEW-VERSION>