Make all internal imports relative#386
Conversation
|
Not sure why some tests are failing, is it due to my changes? Will check more later. |
|
Relative imports can be handy, as long as you know what you do. I made the experience, that in more nested projects, many people fall into an ImportError pit (but that is another story). Anyway - back to the topic: In our case I am not so happy, because of |
Very good point, but as long as the built-in |
3871047 to
5ce5b4b
Compare
this allows more freedom installing and moving the snap7 module around the filesystem for peculiar setups.
5ce5b4b to
95c731c
Compare
|
I've changed all the |
Not sure whether this is welcome, but we're using is as an internal patch and I thought it would be nice to offer it here.
This basically allows more freedom installing and moving the snap7 module around the filesystem for peculiar setups, as far as I know it's a pretty common practice for Python libraries.