You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I just like to be able to check the software version from the python import, as opposed to querying conda or rooting around in an install dir. Makes reporting other issues easier too.
Describe the solution you'd like
Add a __version__ attribute to the python module, which is customary for python modules.
Describe alternatives you've considered
You can currently solve this problem with conda list | grep loos...
Additional context
None
The text was updated successfully, but these errors were encountered:
I think we just need to literally put it in the python module swig creates at the top level, and also in the pyloos. We could probably use a shell script to sed it in, or a python script that replaces it in, after those files are created during the build process. There are comments about this in PEP8.
So it could be as simple as putting:
__version__ = 'VERSION'
in the module files, then having a script that build runs replace VERSION with the correct version number.
Is your feature request related to a problem? Please describe
I just like to be able to check the software version from the python import, as opposed to querying conda or rooting around in an install dir. Makes reporting other issues easier too.
Describe the solution you'd like
Add a
__version__
attribute to the python module, which is customary for python modules.Describe alternatives you've considered
You can currently solve this problem with
conda list | grep loos
...Additional context
None
The text was updated successfully, but these errors were encountered: