diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /python/setup.py.in | |
parent | Initial commit. (diff) | |
download | pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip |
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | python/setup.py.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/python/setup.py.in b/python/setup.py.in new file mode 100644 index 0000000..c4083da --- /dev/null +++ b/python/setup.py.in @@ -0,0 +1,20 @@ +#!@PYTHON@ + +import re +from setuptools import setup + +# This will match things like "2.1.3" and "2.1.3-100", but not things like +# "2.1.3-100.deadbeef". Any other formats (or lack of a match) will result +# in an exception during package building, which is probably okay. That's an +# error on our part and is something we should fix. +ver = re.match("[0-9.]+[0-9-]*", "@PACKAGE_VERSION@")[0] + +setup(name='pacemaker', + version=ver, + author='The Pacemaker project contributors', + author_email='@PACKAGE_BUGREPORT@', + license='LGPLv2.1+', + url='https://clusterlabs.org/pacemaker/', + description='Python libraries for Pacemaker', + packages=['pacemaker', 'pacemaker._cts'], + ) |