13 lines
462 B
Bash
Executable file
13 lines
462 B
Bash
Executable file
#!/bin/bash
|
|
/usr/bin/env ipython3 -i $(dirname $0)/solopath.py -- "$@"
|
|
|
|
# Use this script to execute a python module directly, i.e.
|
|
# import it correctly and then execute its main(argv) function if it has one
|
|
# This is meant for testing purposes etc
|
|
|
|
# Allowed syntax:
|
|
# eda/python/solo$ ../solopath hetept/data.py -e FAR
|
|
# eda/python$ ./solopath solo.hetept.data -e FAR
|
|
|
|
|
|
# Of course you can also directly call ipython -i solopath.py -- module.py -o -a -e etc
|