Re: convert init.d to systemd, how to determine which python is installed

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

 



On 11/03/2011 03:10 PM, Kaleb S. KEITHLEY wrote:
> In order to work on, e.g. RHEL6 in addition to Fedora, the old init
> script has:
> ...
> vercmd="from distutils.sysconfig import get_python_lib; print
> get_python_lib()"
> py_dir=$(python -c "${vercmd}")
> exe="${py_dir}/hekafsd.py"

But the path is already known during the build of the package, isn't it?

Michal
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[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