tech-pkg archive

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

Re: python .pyo and .pyc files



> Meson says that it should never build nor install .pyo nor .pyc files,
> point at
> 
>  https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_byte_compiling
> 
> What is The Right Way(tm) from pkgsrc?

The manual (above) says the byte-compiled file should always be installed.

For PkgSrc we should also provide .pyc and .pyo. This is usually done automatically when using setuptools. There are few packages which do it manually (devel/py-subversions).

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index