blob: e9d61d0a689a0b3eeb647c0600014eae789a285a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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', 'pacemaker._cts.tests'],
)
|