bdist_rpm from Ubuntu to CentOS

Discussion in 'Python' started by Miki Tebeka, Jun 2, 2011.

  1. Miki Tebeka

    Miki Tebeka Guest

    Greetings,

    We develop on Ubuntu/Macs and deploy RPMs to CentOS (this is the settings, can't be changed much).

    The problem is that when installing from the rpm, the packages go to /usr/local/lib/python2.7/dist-packages (which is the right location for Ubuntu). However the default python path in CentOS is looking at /usr/local/lib/python2.7/site-packages.

    Is there a way to tell bdist_rpm where to install the files to?

    Thanks,
    --
    Miki
     
    Miki Tebeka, Jun 2, 2011
    #1
    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:
    327
    Anthony Baxter
    Aug 5, 2004
  2. Replies:
    1
    Views:
    459
    Jérôme Le Bougeant
    Jul 21, 2006
  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. SPE - Stani's Python Editor
    Replies:
    1
    Views:
    459
    SPE - Stani's Python Editor
    Apr 29, 2008
Loading...

Share This Page