[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: libdir and python on x86_64
- From: Ville Skyttä <ville skytta iki fi>
- To: fedora-extras-list redhat com
- Subject: Re: libdir and python on x86_64
- Date: Wed, 01 Jun 2005 09:46:51 +0300
On Tue, 2005-05-31 at 21:18 -0600, Kevin Fenzi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >>>>> "Shahms" == Shahms E King <shahms shahms com> writes:
>
> Shahms> Use the python_sitearch or python_sitelib defines:
> Shahms> %{!?python_sitearch: %define python_sitearch %(%{__python} -c
> Shahms> "from distutils.sysconfig import get_python_lib; print
> Shahms> get_python_lib(1)")}
>
> Shahms> %{!?python_sitelib: %define python_sitelib %(%{__python} -c
> Shahms> "from distutils.sysconfig import get_python_lib; print
> Shahms> get_python_lib()")}
>
> Shahms> Pick the appropriate one, put it at the top of the specfile,
> Shahms> and use that rather than %{_libdir}. There's more information
> Shahms> in the wiki. These are also defined in the python spec
> Shahms> template in fedora-rpmdevtools.
>
> Cool. This is just what I was looking for.
Unfortunately looking at your exo commit tells me that you have probably
picked the wrong one. python_sitelib is for arch-independent stuff and
python_sitearch for arch-dependent stuff. exo seems to install arch
dependent python things.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]