bdist_rpm from Ubuntu to CentOS

Miki Tebeka miki.tebeka at gmail.com
Thu Jun 2 16:56:37 EDT 2011


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



More information about the Python-list mailing list