Re: Move python install location from sitelib to sitearch

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

 



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?

-Doug

[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.

-Toshio

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux