Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.86k stars 450 forks source link

Build is reporting its version is git #8134

Closed qstokkink closed 2 months ago

qstokkink commented 2 months ago

When running the Windows build, Tribler reports that its version is as follows:

Current version: git

This is incorrect.

qstokkink commented 2 months ago

Ah, I read over the fine print here: https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-dist-info-directory

Long story short, we need to make the following directory + file:

tribler.dist-info/METADATA

It should be filled with:

Metadata-Version: 2.3
Name: Tribler
Version: 14.0.0

At the end of the day, we'll have to write the hard version into this file after all.