My fabfile contains relative imports, thus it has to be loaded as a module.
It seems that fab loads the fabfile as standalone script, so the relative imports are not working.
Here is my folder structure:
scripts
|-> __init__.py
|-> deployment
|-> __init__.py
|-> fabfile.py
|-> other-module
To debug/test the fabfile I can load it using:
python -m scripts.deployment.fabfile
Is there a way to force the fab tool to load the fabfile as module?