fixed imports by running as a module

This commit is contained in:
Félix Boisselier committed 2024-04-20 19:15:24 +02:00
1 parent 94e110736a
commit 99b719051c
10 files changed
+25 -21

No files matched your search

+6 -1
View File
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
# This script is used to run the Shake&Tune Python scripts as a module
# from the project root directory using its virtual environment
# Usage: ./shaketune.sh <args>
source ~/klippain_shaketune-env/bin/activate
python ~/klippain_shaketune/src/is_workflow.py "$@"
cd ~/klippain_shaketune
python -m src.is_workflow "$@"
deactivate