Skip to content

Commit

Permalink
Fix build tag to be PEP 404 compatible
Browse files Browse the repository at this point in the history
There were pip warnings when building this

https://peps.python.org/pep-0440/#local-version-identifiers
  • Loading branch information
edufelipe committed May 31, 2022
1 parent 1fda9ca commit 400eb96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions uwsgiconfig.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 400eb96

Please sign in to comment.