Closed alan-stokes closed 4 years ago
We were trying to find a way to figure out what version of pynn a user was using, and we thought wed find _version.py file at the top of the pynn install, coz that's just good practice. alas not.
I am not a PyNN developer, but I have to say that I don't consider the lack of _version.py
bad practice. Having a file storing the version is just one of the many options given in the (more or less) authoritative source on packaging, and naming this file _version.py
is certainly not the only possibility.
Why not import pyNN
and check pyNN.__version__
? This is the canonical way for checking a package version, isn't it?
import pyNN
print(pyNN.__version__)
We were trying to find a way to figure out what version of pynn a user was using, and we thought wed find _version.py file at the top of the pynn install, coz that's just good practice. alas not.
Please fix in future releases.