setup.py bdist_rpm help

Greg Copeland gtcopeland at gmail.com
Tue Apr 17 16:12:20 EDT 2007


Ahh.  I figured it out.  I resolved the issue by using a MANIFEST.in
file.

Greg


On Apr 17, 1:19 pm, Greg Copeland <gtcopel... at gmail.com> wrote:
> Okay, I have an application which is frozen via pyinstaller.  That is
> all working great.  I now want to create an RPM using distutils'
> bdist_rpm facilities.  I seem to be running into trouble.  No matter
> what, I only seem to get three files within my RPM (setup.py,
> README.txt, and PKG_INFO).
>
> My application ('app') has a configuration file ('x.cfg') and a single
> directory ('data') which contains various data files used during
> runtime.  Can someone show me an example setup.py which will create an
> RPM containing only the following: app, x.cfg, data/*?  Please note
> that 'app' is the frozen application and not the normal python script
> (app.py).  If it matters, I'm using Python 2.4.4 on Linux.
>
> Thanks!





More information about the Python-list mailing list