diff --git a/pyunitwizard/configure/configure.py b/pyunitwizard/configure/configure.py index 21393e2..b258d52 100644 --- a/pyunitwizard/configure/configure.py +++ b/pyunitwizard/configure/configure.py @@ -8,7 +8,8 @@ libraries = ['pint', 'simtk.unit'] parsers = ['pint', 'simtk.unit'] -found = { ii: find_spec(ii) is not None for ii in libraries} +_aux_dict_modules = {'pint':'pint', 'simtk.unit':'simtk'} +found = { ii: find_spec(_aux_dict_modules[ii]) is not None for ii in libraries} def reset():