Remove old OWSlib from repository and replace by current version
Issue #1
resolved
- The current development branch of OWSlib is far ahead: https://github.com/geopython/OWSLib
Comments (9)
-
-
if done so please describe also changes in README and move that file too.
Currently I think about refactoring to a current version of this library due the release path of 1.3. So an intermediate solution is welcome.
-
reporter Let me know if you start working on this; there already is some preliminary code for using an existing external owsliib.
-
Patches to old OWS version affect only wms.py, see comments at head of file.
-
-
assigned issue to
-
assigned issue to
-
- changed milestone to 1.5.0
-
we keep the modified owslib.wms and remove all of owslib from our repository, see
#1→ <<cset da74d575f548>>
-
mandatory changes to our library and removing of the old owslib, see
#1→ <<cset 0628274814cd>>
-
- changed status to resolved
changes describes for owslib wms.py in Notice, fixes
#1→ <<cset b499a5582204>>
- Log in to comment
The current state uses a hack to add the thirdparty directory to the pythonpath. This should work in case that MSS is installed using conda and no other owslib is installed. A more robust solution could be to patch the used owslib even further to hardcode the local imports of owslib to mslib.owslib. Using a thirdparty discriminator as a directory does not seem necessary. Other python modules also include specific, probably patched modules as submodules in code.
So I propose to: a) move mslib.thirdparty.owslib to mslib.owslib and b) to hardocde all imports in owslib to mslib.owslib
This should rather straightforward and would offer a robust solution for potential import problems.