Permalink
Browse files

Fixed 'make install' when PYTHON_SITELIB is not specified

Bumped to 0.9.24
  • Loading branch information...
1 parent 914414e commit 81958558a220bbc22e7befc42ec72c8b8810439c @feist feist committed Sep 20, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −0 Makefile
  2. +2 −1 setup.py
View
@@ -1,3 +1,7 @@
+ifndef PYTHON_SITELIB
+ PYTHON_SITELIB=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+endif
+
install:
python setup.py install --prefix ${DESTDIR}/usr
mkdir -p ${DESTDIR}/usr/sbin/
View
@@ -3,12 +3,13 @@
from distutils.core import setup
setup(name='pcs',
- version='0.9.22',
+ version='0.9.24',
description='Pacemaker Configuration System',
author='Chris Feist',
author_email='cfeist@redhat.com',
url='http://github.com/feist/pcs',
packages=['pcs'],
package_data={'pcs':['corosync.conf.template','corosync.conf.fedora.template']},
py_modules=['pcs'],
+ scripts=['pcs/pcs.py']
)

0 comments on commit 8195855

Please sign in to comment.