setup.py bdist_rpm help

Discussion in 'Python' started by Greg Copeland, Apr 17, 2007.

  1. 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!
    Greg Copeland, Apr 17, 2007
    #1
    1. Advertising

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

    Greg


    On Apr 17, 1:19 pm, Greg Copeland <> 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!
    Greg Copeland, Apr 17, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. zirpu xunre pelxu

    bdist_rpm problems, and my work around.

    zirpu xunre pelxu, Aug 5, 2004, in forum: Python
    Replies:
    1
    Views:
    321
    Anthony Baxter
    Aug 5, 2004
  2. Replies:
    1
    Views:
    450
    Jérôme Le Bougeant
    Jul 21, 2006
  3. Replies:
    0
    Views:
    386
  4. Chris Shenton
    Replies:
    1
    Views:
    1,443
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Aug 24, 2007
  5. Miki Tebeka

    bdist_rpm from Ubuntu to CentOS

    Miki Tebeka, Jun 2, 2011, in forum: Python
    Replies:
    0
    Views:
    221
    Miki Tebeka
    Jun 2, 2011
Loading...

Share This Page