Use relative imports (PEP 328) for calibcant sibling imports.
[calibcant.git] / calibcant / analyze.py
index c4850095366319d370845b157cc1c35fe8e47e0a..626e3eacd733b866b21874c88c14040bb1721d63 100755 (executable)
@@ -47,13 +47,15 @@ Which are related by the parameters :
 """
 
 import numpy
+
+import data_logger
 from splittable_kwargs import splittableKwargsFunction, \
     make_splittable_kwargs_function
-import data_logger
 
-import common # common module for the calibcant package
-import config # config module for the calibcant package
-import T_analyze # T_analyze module for the calibcant package
+import .common
+import .config
+import .T_analyze
+
 
 kb = 1.3806504e-23 # Boltzmann's constant in J/K