13 lines
459 B
Text
13 lines
459 B
Text
|
|
#!/bin/bash
|
||
|
|
/usr/bin/env ipython3 $(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
|