• J
    python: Use hardcoded python path in libvirt.py · c51f0827
    Jiri Denemark 提交于
    This partially reverts (and fixes that part in a different way) commit
    e4384459, which replaced
    ``/usr/bin/python'' with ``/usr/bin/env python'' in all examples or
    scripts used during build to generate other files.
    
    However, python bindings module is compiled and linked against a
    specific python discovered or explicitly provided in configure phase.
    Thus libvirt.py, which is generated and installed into the system,
    should use the same python binary for which the module has been built.
    
    The hunk in Makefile.am replaces $(srcdir) with $(PYTHON), which might
    seem wrong but it is not. generator.py didn't use any of its command
    line arguments so passing $(srcdir) to it was redundant.
    c51f0827
generator.py 57.4 KB