Closed bpshaver closed 1 year ago
@mjspeck I don't know if there is a reason not to use importlib.metadata.version
to get the version string and set it to __version__
. That function might fail if you were attempting to import the daidepp
module without having installed the package. That is, if you went to src
and wanted Python to recognize daidepp
as a module available in the working directory. But the decision to put daidepp
under src
is usually done to stop people from doing that, I think.
…hich reads from distribution package metadata