Re: Status of SIGAR (Was: InVesalius packaging)
On Mon, Mar 29, 2010 at 03:46:20PM -0300, Thiago Franco Moraes wrote:
> I fixed some of lintian problems. One of the problems that remains is:
> W: libsigar: package-installs-python-pyc
> N: Compiled python source files should not be included in the package.
> N: These files should be removed from the package and created at package
> N: installation time in the postinst.
> N: Severity: normal, Certainty: certain
> How can I only compile in installation time? I'm using this command in rule
> file to install the files:
> cd $(CURDIR)/bindings/python && python setup.py install --install-layout=deb
I have limited experience with python packages but the principle is that
the *.pyc files will be created at package install time in the postinst
script. This is done by python-support and is described in the Debian
Python Policy. Perhaps you might have a look into this document and
if something remains unclear, it is a good idea to ask on