[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CDBS and Python without distutils?



Le ven 19/03/2004 à 12:29, W. Borgert a écrit :
> Hi,
> 
> I'm going to package software, that is in parts written in Python.
> Of course, I like to have the .pyc files generated at installation
> time, as easily cared for by dh_python.  Unfortunately, dh_python
> is only called by one CDBS script, python-distutils.mk.  How can
> I use CDBS for Python software without setup.py(*)?

Just add a hook calling dh_python at the right time:
binary-install/mypackage::
	dh_python -pmypackage

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


Reply to: