Closed danielhrisca closed 6 years ago
Hi Daniel, I was using originally using relative imports but I implemented absolute path import to support issue #41 . Seems more robust for various platforms and configurations but yes can probably cause issue if you want to have several versions compared. Maybe using python environments should be more handy ?
If you use it as a package then there are no problems with relative imports.
If you run a module from the package then you might have errors with relative imports.
Is there any case in which a mdfreader module is executed?
yes if you mean:
python filename.mf4 --export HDF5
The system.path is getting cluttered with all the appends down in various mdfreader modules.
But if no one else is complaining the this can be closed.
Hello Aymeric,
currently it is impossible to have multiple mdfreader version on the same python installation since you append to sys,path
I was able to get this to work by removing all sys.path appends and using relative imports; for example in init.py
Anyway, it looks like a little competition can lead to improvements:
Benchmark environment
Files used for benchmark: