diff setup.py @ 23:3b13504f9d89

Use the official packaging.version.Version to parse version strings. While there revert the previons change to _int_rc(): it is not needed now.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 19 Sep 2025 12:40:07 +0200
parents fdb709369d57
children 21c6080bc183
line wrap: on
line diff
--- a/setup.py	Fri Sep 19 12:05:57 2025 +0200
+++ b/setup.py	Fri Sep 19 12:40:07 2025 +0200
@@ -1367,6 +1367,12 @@
         # We can't pip install pytest on pyodide, so specify it here.
         requires_dist.append('pytest')
 
+    #
+    # We need packaging because of extended version parsing (including local
+    # version specifiers.
+    #
+    requires_dist.append('packaging')
+
     p = pipcl.Package(
             name,
             version,