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

Re: Where to install application .py files?



On Friday 05 May 2006 10:30, Hans de Goede wrote:
> Hi,
>
> Also on my 64bit system I have python stuff under both
> /usr/lib/python2.4/site-packages/ and /usr/lib64/python2.4/site-packages/

This is what /usr/share/fedora/spectemplate-python.spec says:

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

...

%files
%defattr(-,root,root,-)
%doc
# Include files and dirs below %{python_sitelib} (for noarch packages) and
# %{python_sitearch} (for arch-dependent packages) as appropriate, and mark
# *.pyo as %ghost (do not include in package).


> Thanks & Regards,
>
> Hans

-- 
José Abílio


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