Mailinglist Archive: opensuse-buildservice (366 mails)

< Previous Next >
Re: [opensuse-buildservice] Python distutils broken on Fedora x86_64 ?
  • From: John Pye <john@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 07 Aug 2007 20:07:08 +1000
  • Message-id: <46B8444C.2010909@xxxxxxxxxxxxxxxxxx>
Try passing %_libdir into setup.py?

Cheers
JP

Pascal Bleser wrote:
> Weird... my webpin package [1] builds fine everywhere except on Fedora
> x86_64, because the setup.py installs the Python modules into
> /usr/lib/python.../site-packages/... instead of
> /usr/lib64/python.../site-packages/
>
> [1]http://build.opensuse.org/package/show?package=webpin&project=openSUSE%3ATools
>
> OTOH, I do this in my spec file (because there's no %py_sitedir on
> Fedora):
> ---8<--------------------------------------------------------------
> %if 0%{?!py_sitedir:1}
> %define py_sitedir %(%__python -c 'from distutils import sysconfig;
> print sysconfig.get_python_lib(1)')
> %endif
> ---8<--------------------------------------------------------------
>
> And %py_sitedir is set to /usr/lib64/python.../site-packages
>
> Ummmm... an idea, anyone ?
>
> Here's the log:
> http://build.opensuse.org/package/live_build_log?repository=Fedora_7&package=webpin&arch=x86_64&project=openSUSE%3ATools
>
> cheers
> --
>   -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
>   /\\ <pascal.bleser@xxxxxxxxx>       <guru@xxxxxxxxxxx>
>  _\_v The more things change, the more they stay insane.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References