view requirements.txt @ 8689:19d93bd709bf

html: put 'use strict' on separate lines use.py: import re import sys for fn in sys.argv[1:]: with open(fn) as f: s = f.read() s = re.sub(r'''(<script>)('use strict';)\n( *)''', r'''\1\n\3\2\n\3''', s) with open(fn, 'w') as f: f.write(s) python use.py $(hg loc 'kallithea/templates/**.html')
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 19 May 2020 04:36:53 +0200
parents 941548131765
children
line wrap: on
line source

# requirements.txt file for use as "pip install -r requirements.txt" as a
# readthedocs compatible alternative to "pip install -e ." which is a working
# alternative to "setup.py develop" which doesn't work with Mercurial 3.7
.