hobuinc / mgrs

Python MGRS library
https://pypi.python.org/pypi/mgrs
MIT License
111 stars 36 forks source link

WINDOWS: wheel package must be installed #17

Closed apiszcz closed 4 years ago

apiszcz commented 7 years ago

If wheel is not installed the following in core.py silently fails, the DLL load fails. Wheel solves the issue:

    libname = 'libmgrs'
    try:
        import wheel.pep425tags
        name = wheel.pep425tags.get_abbr_impl() + \
               wheel.pep425tags.get_impl_ver() + \
               '-' + wheel.pep425tags.get_platform()
        return libname + '.' + name + '.pyd'
    except ImportError:
        return libname + '.pyd'
hobu commented 7 years ago

indeed, that could be an issue. Will fix in next release.

hobu commented 4 years ago

Please try 1.3.7 and reopen if this is still an issue.