diff --git a/volia/clustering_modules/__init__.py b/volia/clustering_modules/__init__.py new file mode 100644 index 0000000..463bd58 --- /dev/null +++ b/volia/clustering_modules/__init__.py @@ -0,0 +1,11 @@ +""" Just a simple way to import relative modules when calling + modules with the option -m + exemple : python -m volia.script + if script import a module in the same namespace + this will not work because python will try to + find a module in the directory of execution, not those of the + module file. +""" +import sys +import os +sys.path.append(os.path.dirname(__file__))