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:
> Thanks; I had found that in gpsd's Makefile.in it was installing to
> pythondir instead of pyexecdir; I replaced the occurrences and
> things look a lot better.

That's a good way to work around the upstream autotools setup.
Ideally this should be fixed upstream of course, which means making
some changes at least to Makefile.am.

I'll hit you up offlist and see if I can help craft a reasonable patch
that can be sent upstream.

(I meant to send this yesterday, but forgot.  In the interim, I did
make a patch to change the python build process.  If there are any
autotools gurus interested in mocking it and teaching me a few things,
it's here: http://tmz.fedorapeople.org/tmp/gpsd-python-autotools.diff
I'd enjoy hearing what I screwed up the most.

I believe that the simplest fix would have been to just replace
python_PYTHON with pyexec_PYTHON, but I just didn't care for the way
the module was being built using a setup.py's build_ext.  I also added
a configure check for Python.h, which upstream was lacking.  I even
fixed the included gpsd.spec.in, which had a comment blaming
autoconfig for putting the python files in /usr/lib even on 64 bit
systems. :)  Hence the larger patch that removes setup.py and touches
a few more files.)

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So I don't get hurt?!  That's the best you can come up with you
dull-witted termagant!
    -- Stewie Griffin, on why he needs a car seat

Attachment: pgpFtyrwmoQnB.pgp
Description: PGP 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