[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Move python install location from sitelib to sitearch

Douglas E. Warner wrote:
I have a package that installs some python modules into the normal sitelib directory, but since the package is mostly contained of arch-specific binaries I can't package these into noarch files [1]. I need to move these python modules into the sitearch dir; how can I modify the setup.py call to install to /usr/lib or /usr/lib64 instead of just /usr/lib?


[1] https://bugzilla.redhat.com/show_bug.cgi?id=341361

gpsd looks like it's using automake rather than setup.py. So you'll need to modify Makefile.am and re-run autogen.sh

Start by reading the info page for automake and searching for pyexecdir. Since you have both python files and a python extension module you may have to write a custom target for the *.py files. I haven't done this particular thing before so you'll have to experiment a little.


Attachment: signature.asc
Description: OpenPGP digital signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]