| 1 |
#!/usr/bin/python3 |
| 2 |
|
| 3 |
import sys |
| 4 |
import os |
| 5 |
|
| 6 |
|
| 7 |
modules_path = os.path.dirname(os.path.abspath(sys.argv[0])).rstrip("/launch") |
| 8 |
root_path = os.path.dirname(os.path.abspath(sys.argv[0])).rstrip("/Flowblade/launch") # TODO: THIS NEEDS TO BE CONDITIONAL ON BEING FILE SYSTEM INSTALLATION!! |
| 9 |
|
| 10 |
sys.path.insert(0, modules_path) |
| 11 |
sys.path.insert(0, root_path) # TODO: THIS NEEDS TO BE CONDITIONAL ON BEING FILE SYSTEM INSTALLATION!! |
| 12 |
|
| 13 |
import processutils |
| 14 |
processutils.update_sys_path(modules_path) |
| 15 |
|
| 16 |
import audiowaveformrenderer |
| 17 |
|
| 18 |
audiowaveformrenderer.main() |