fixed imports by running as a module

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

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