Re: python2.2 -> python2.3

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

 



Warren Togami wrote:
Alan Milligan wrote:
What we have here doesn't really qualify as bugs.  Our stuff falls into
two major components; (i) implementing the following macros:

%pythonprefix /usr
%__python %{pythonprefix}/bin/python
%pythonversion %(python -c 'import sys;print(sys.version[0:3])')
%pythonpath %{pythonprefix}/lib/python%{pythonversion}
%pythoninclude %{pythonprefix}/include/python%{pythonversion}


Sorry, these changes are too invasive at this point, and even potentially wrong. What about multilib?

%pythondir %(python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix=%{pythonprefix})') will return /usr/lib/.... on all archs for arch independent stuff

%pyexecdir %(python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix=%{pythonprefix})')
will return /usr/lib{,64}/... for arch dependent stuff


[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