From 1dd8226d950dc349868e58332dac4017086bff59 Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Tue, 7 Mar 2023 12:29:31 +0100 Subject: [PATCH] Adds fixed version for reproducible builds Now we can rebuild the source into a wheel in any time in future, and we will still have the correct version of the project in the METADATA in wheel. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4ec0239..bc81df1 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,8 @@ import setuptools from datetime import datetime -current_version = datetime.utcnow().strftime("%Y.%m") +# Fixed version will help for reproducible builds +current_version = "2023.3" with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read()