> On Sat, Aug 15, 2020, 09:58 Uwe Brauer <o...@mat.ucm.es> wrote:
> I'm not sure what the problem really is here, but if you only get this for > the license check and you are just evaluating if kallithea fits your needs, > you could comment out the check in > home/oub/.local/lib/python2.7/site-packages/kallithea/bin/kallithea_cli_front_end.py You mean everything after: ? (I don't know really python, sorry) click.echo("Generating LICENSES.txt") license_checker_path = os.path.join(front_end_dir, 'node_modules', '.bin', 'license-checker') check_licensing_json_path = os.path.join(tmp_dir, 'licensing.json') licensing_txt_path = os.path.join(public_dir, 'LICENSES.txt') subprocess.check_call([license_checker_path, '--json', '--out', check_licensing_json_path], cwd=front_end_dir, shell=kallithea.is_windows) with open(check_licensing_json_path) as jsonfile: rows = json.loads(jsonfile.read()) with open(licensing_txt_path, 'w') as out: out.write("The Kallithea front-end was built using the following Node modules:\n\n") for name_version, values in sorted(rows.items()): name, version = name_version.rsplit('@', 1) line = "%s from https://www.npmjs.com/package/%s/v/%s\n License: %s\n Repository: %s\n" % ( name_version, name, version, values['licenses'], values.get('repository', '-')) if values.get('copyright'): line += " Copyright: %s\n" % (values['copyright']) out.write(line + '\n')
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ kallithea-general mailing list kallithea-general@sfconservancy.org https://lists.sfconservancy.org/mailman/listinfo/kallithea-general