Move python install location from sitelib to sitearch
Toshio Kuratomi
a.badger at gmail.com
Thu Feb 28 17:05:14 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080228/bf91380b/attachment.sig>
More information about the fedora-devel-list
mailing list