[Build-common-hackers] Re: CDBS and Python without distutils?
Josselin Mouette
joss@debian.org
Fri, 19 Mar 2004 12:36:29 +0100
--=-MQl7Nxg8zvfZHzB6XB+I
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
Le ven 19/03/2004 =E0 12:29, W. Borgert a =E9crit :
> Hi,
>=20
> 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,
--=20
.''`. Josselin Mouette /\./\
: :' : josselin.mouette@ens-lyon.org
`. `' joss@debian.org
`- Debian GNU/Linux -- The power of freedom
--=-MQl7Nxg8zvfZHzB6XB+I
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAWts8rSla4ddfhTMRArC/AJ9Dy2VWYhljWNkUNw7HZpnhCKz5yACfR24z
ZlUOMpbUFdZCFbH7VRP6vjk=
=BjRd
-----END PGP SIGNATURE-----
--=-MQl7Nxg8zvfZHzB6XB+I--