--- a/setup.py +++ b/setup.py @@ -502,7 +502,7 @@ def setup(): LONG_DESCRIPTION = fill(LONG_DESCRIPTION) if not lastmod_time: - lastmod_time = int(time.time()) + lastmod_time = int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) msiversion = ".".join( (