1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Change Zenmap version syntax to meet pip standards. Fixes #2714

This commit is contained in:
dmiller
2024-02-27 20:22:43 +00:00
parent 68c34af819
commit c0e172806f
4 changed files with 4 additions and 3 deletions

View File

@@ -86,6 +86,7 @@ def update_date(base_dir):
def update_version(base_dir, version): def update_version(base_dir, version):
version = re.sub(r'(?=[^0-9.])', '+', version, 1)
print(">>> Updating %s" % os.path.join(base_dir, VERSION)) print(">>> Updating %s" % os.path.join(base_dir, VERSION))
vf = open(os.path.join(base_dir, VERSION), "w") vf = open(os.path.join(base_dir, VERSION), "w")
print(version, file=vf) print(version, file=vf)

View File

@@ -1 +1 @@
7.94SVN 7.94+SVN

View File

@@ -64,7 +64,7 @@ APP_DISPLAY_NAME = "Zenmap"
APP_WEB_SITE = "https://nmap.org/zenmap/" APP_WEB_SITE = "https://nmap.org/zenmap/"
APP_DOWNLOAD_SITE = "https://nmap.org/download.html" APP_DOWNLOAD_SITE = "https://nmap.org/download.html"
APP_DOCUMENTATION_SITE = "https://nmap.org/book/zenmap.html" APP_DOCUMENTATION_SITE = "https://nmap.org/book/zenmap.html"
APP_COPYRIGHT = "Copyright 2005-2023 Nmap Software LLC" APP_COPYRIGHT = "Copyright 2005-2024 Nmap Software LLC"
NMAP_DISPLAY_NAME = "Nmap" NMAP_DISPLAY_NAME = "Nmap"
NMAP_WEB_SITE = "https://nmap.org" NMAP_WEB_SITE = "https://nmap.org"

View File

@@ -1 +1 @@
VERSION = "7.94SVN" VERSION = "7.94+SVN"