With vcversioner you can write a setup.py with no version information specified, and vcversioner will find a recent, properly-formatted VCS tag and extract a version from it.
| Uploaded | Tue Apr 1 00:39:59 2025 |
| md5 checksum | 2a2f9e56dd0bbc159935dcc21a9def0e |
| arch | x86_64 |
| build | py310h06a4308_0 |
| depends | python >=3.10,<3.11.0a0 |
| license | ISC |
| md5 | 2a2f9e56dd0bbc159935dcc21a9def0e |
| name | vcversioner |
| platform | linux |
| sha1 | 7f27bd5c8bf36afaafdce998e472c41f1ee98325 |
| sha256 | 1b93fe8f992607006f17f6e30aaca2ba9217bc5afcf9ca5d2b2f173c4d2eb73f |
| size | 13656 |
| subdir | linux-64 |
| timestamp | 1640795749876 |
| version | 2.16.0.0 |