Package: python2.4-dev
Version: 2.4.3-1

Coin,

With the rule:

DEB_PYTHON_SETUP_CMD = setup.py
DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0

install/python-editobj::
        cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) \
        $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL)

(inspired by the CDBS class)

With DEB_PYTHON_COMPILE_VERSION  := 2.3 everything is fine, but with 2.4
.pyc and .pyo files are generated and installed.   

-- 
Marc Dequènes (Duck)

Attachment: pgp1MSmKXUAuq.pgp
Description: PGP signature

Reply via email to