change default install directory when using bdist_rpm

Discussion in 'Python' started by krithika.sridhar@gmail.com, Jul 21, 2006.

  1. Guest

    Hi,

    I'm using :
    python setup.py bdist_rpm

    to create an rpm package to distribute my python app on linux.

    When i install the rpm, the files are installed in
    /usr/share/python/site-packages/..... directory by default.

    How do i change the installation directory??

    Thanks,
    krithika
     
    , Jul 21, 2006
    #1
    1. Advertising

  2. Hi,

    try :
    python setup.py bdist_rpm --dist-dir="/home/..."

    > I'm using :
    > python setup.py bdist_rpm
    >
    > to create an rpm package to distribute my python app on linux.
    >
    > When i install the rpm, the files are installed in
    > /usr/share/python/site-packages/..... directory by default.
    >
    > How do i change the installation directory??
    >
    > Thanks,
    > krithika
    >
     
    Jérôme Le Bougeant, Jul 21, 2006
    #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. RJGraham
    Replies:
    8
    Views:
    10,318
    Ryan Stewart
    Feb 14, 2004
  2. zirpu xunre pelxu

    bdist_rpm problems, and my work around.

    zirpu xunre pelxu, Aug 5, 2004, in forum: Python
    Replies:
    1
    Views:
    327
    Anthony Baxter
    Aug 5, 2004
  3. Replies:
    0
    Views:
    397
  4. Greg Copeland

    setup.py bdist_rpm help

    Greg Copeland, Apr 17, 2007, in forum: Python
    Replies:
    1
    Views:
    473
    Greg Copeland
    Apr 17, 2007
  5. Miki Tebeka

    bdist_rpm from Ubuntu to CentOS

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

Share This Page