On Mon, Jan 24, 2011 at 8:13 AM, Athmane Madjoudj <athmanem@gmail.com> wrote:
On 01/24/2011 05:36 AM, Erik Blankinship wrote:
> Can someone point me at an example of how to package a fedora python rpm
> without the source code (only the .pyc or .pyo files)?
>
> Would I make this change in my spec file?
>
> Thank you for your help.
>
>

You can't, it's against packaging guidelines

See: http://fedoraproject.org/wiki/Packaging/Python#Source_files


While I appreciate and would like to respect the guidelines, is it technically possible to create a python rpm without source?  This rpm would only be distributed as a downloadable file (not via yum).