Open Boldie opened 3 years ago
The following line will work, so the doc shall be updated to this:
python -c 'import importlib; from importlib import util; import pathlib; print(pathlib.Path(util.find_spec("sutime").origin).parent / "pom.xml")'
you can also just change import importlib
part to import importlib.util
mvn dependency:copy-dependencies -DoutputDirectory=./jars -f $(python -c 'import importlib; from importlib import util; import pathlib; print(pathlib.Path(util.find_spec("sutime").origin).parent / "pom.xml")')
Python Version is 3.8.5 on Ubuntu 20.04.2