2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-05 08:45:22 +00:00

Adjust alpha/beta versions for setuptools

Latest python setuptools don't accept a '~' in the version, and fail the
build. Replace '~' with '-' to avoid this.
This commit is contained in:
Christian Boltz
2024-04-21 17:19:44 +02:00
parent a07a0f4428
commit 405da7aa33
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ from setuptools import setup, Extension
import string
setup(name = 'LibAppArmor',
version = '@VERSION@',
version = '@VERSION@'.replace('~', '-'),
author = 'AppArmor Dev Team',
author_email = 'apparmor@lists.ubuntu.com',
url = 'https://wiki.apparmor.net',