Skip to content

Proper initialization for __version__#402

Merged
astanin merged 1 commit into
astanin:masterfrom
DimitriPapadopoulos:AppVeyor
Mar 5, 2026
Merged

Proper initialization for __version__#402
astanin merged 1 commit into
astanin:masterfrom
DimitriPapadopoulos:AppVeyor

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
Contributor

Also, AppVeyor is not used any more, is it?

I believe this is the proper way to find the version:

  1. Try with importlib.metadata.version:

    The version() function is the quickest way to get a Distribution Package’s version number, as a string:

  2. Fall back to version.py if running from outside a package, as a script.

Also, AppVeyor is not used any more, is it?
@astanin
Copy link
Copy Markdown
Owner

astanin commented Mar 5, 2026

Yes, appveyor is not used anymore.

@astanin astanin merged commit 47e97ae into astanin:master Mar 5, 2026
19 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the AppVeyor branch March 5, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants