[Fedora-packaging] Python compiled files without .py in a name
Martin Krizek
mkrizek at redhat.com
Wed Jun 27 15:21:03 UTC 2012
Hi,
a project I am packaging contains a few python scripts that do not
have .py in a name. I gather only files containing .py are bytecompiled
during RPM building. And so if there is a file called "script" in the
site-packages, it is bytecompiled once the file is used and "scriptc" is
created. Then after uninstalling the package, "scriptc" is left on the
filesystem.
What is the correct/proper way to handle such files? Or even, am I missing
something?
Thanks,
Martin
More information about the packaging
mailing list