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
this issue seems to be about how to easily create the __version__ attribute in your project so as to comply with PEP396. To do so in an easy and fully automatic way, I recommend the procedure mentioned above, that relies on setuptools_scm. I personally use it on several packages. This is how I do it : Add __version__ attribute to comply with PEP396 smarie/python-makefun#45 (I realized that it was not done for this project, so I took the opportunity to do it right now :) )
another issue that you mention in your last comment, (that is off-topic for this project) is how can users reliably get the version of any package. Just for reference, setuptools (that you mention) has many limitations, it can not get the version of all packages. That's why I created getversion, a package that combines setuptools with PEP396 and several other methods, so that you are almost guaranteed to get a version number, whatever twisted package you're asking the version for :)
The package does not return version information.
The text was updated successfully, but these errors were encountered: