i created rpm via python setup.py bdist_rpm.
the above command called inside virtualenv.
the files in rpm contain absolute path virtualenv:
/home/user/...path-to-virtualenv/lib/python2.7/site-packages/ how alter paths? want install /usr/lib.
edit setup.cfg file (create if doesn't exist) , add following section it
[install] install-lib=/usr/lib/python2.7/site-packages
Comments
Post a Comment