From 400eb969a02b302d1ba4acaa2500c4a420b3c626 Mon Sep 17 00:00:00 2001 From: Eduardo Felipe Castegnaro Date: Tue, 31 May 2022 10:36:57 -0300 Subject: [PATCH] Fix build tag to be PEP 404 compatible There were pip warnings when building this https://peps.python.org/pep-0440/#local-version-identifiers --- PKG-INFO | 2 +- uwsgiconfig.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKG-INFO b/PKG-INFO index f223d2a5a..0744f550f 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: uWSGI -Version: 2.0.20-onsigntv.2 +Version: 2.0.20+onsigntv.2 Summary: The uWSGI server Home-page: https://uwsgi-docs.readthedocs.io/en/latest/ Author: Unbit diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 241d7ccb3..21500b9d1 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -1,6 +1,6 @@ # uWSGI build system -uwsgi_version = '2.0.20-onsigntv.2' +uwsgi_version = '2.0.20+onsigntv.2' import os import re @@ -1189,7 +1189,7 @@ def get_gcll(self): self.cflags.append('-DUWSGI_VERSION="\\"' + uwsgi_version + '\\""') - uver_whole = uwsgi_version.split('-', 1) + uver_whole = uwsgi_version.split('+', 1) if len(uver_whole) == 1: uver_custom = '' else: