tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
123 stars 56 forks source link

Cannot get xraylib version from python #37

Closed adler-j closed 7 years ago

adler-j commented 7 years ago

When installing xraylib from apt-get there is no xraylib.__version__, as is standard for python. Due to this I cannot check what version I have running locally.

tschoonj commented 7 years ago

You're right of course...

Ideally, the python files should be written to an xraylib folder in site-packages, along with an appropriate __init__.py and version.py file...

I will look into it at some point, but if you have the time to fix this yourself and open a PR, I would be grateful :smile:

Thanks for the other PR btw, I will merge it in.