Commit 53b1b4c1 authored by Philipp Samfaß's avatar Philipp Samfaß

fix for jsonschema

parent 9d3481e0
......@@ -163,8 +163,8 @@ update_others() {
# comment last two lines of module init file (hot fix)
cd jsonschema
sed -i -e "s,^from pkg_resources import get_distribution,#from pkg_resources import get_distribution,g" jsonschema/
sed -i -e "s,^__version__ = get_distribution(__name__).version,#__version__ = get_distribution(__name__).version,g" jsonschema/
sed -i -e "s,^ from importlib import metadata, pass #from importlib import metadata,g" jsonschema/
sed -i -e "s,^__version__ = metadata.version(\"jsonschema\"),#__version__ = metadata.version(\"jsonschema\"),g" jsonschema/
cd ..
if [ ! -d six ]; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment