masadcv / FastGeodis

Fast Implementation of Generalised Geodesic Distance Transform for CPU (OpenMP) and GPU (CUDA)
https://fastgeodis.readthedocs.io
BSD 3-Clause "New" or "Revised" License
90 stars 14 forks source link

[BUG] AttributeError: module 'FastGeodis' has no attribute '__version__' #56

Closed londumas closed 7 months ago

londumas commented 8 months ago

When running the following standard python code:

import FastGeodis
print(FastGeodis.__version__)

We receive the following error

AttributeError: module 'FastGeodis' has no attribute '__version__'

__version__ is a standard and usefull attribute in Python

masadcv commented 8 months ago

Thanks for reporting this. I will look into this.

masadcv commented 7 months ago

I have added capability for versioning to master branch. This will be released soon as version 1.0.5 Note that due to the pypi delivery, you will only be able to query __version__ string from version 1.0.5 onwards.