changeset 286:9518944ed42e

Do not handle "file:" version specifications yet
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 23 Feb 2025 21:52:34 +0100
parents 39a19c008708
children e42a4486a007
files _postprocess-sdist.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/_postprocess-sdist.py	Sun Feb 23 21:40:37 2025 +0100
+++ b/_postprocess-sdist.py	Sun Feb 23 21:52:34 2025 +0100
@@ -31,7 +31,7 @@
         assert dummy is not None and vermodattr is not None
         vermod = importlib.import_module(vermodname)
         project_version = getattr(vermod, vermodattr)
-    else:
+    elif project_version.startswith("file:"):
         assert False
     #
     # Compressed tar files cannot be modified by Python: make sure the