• Jérome Perrin's avatar
    component/glib: make build depend on python version · dc38f571
    Jérome Perrin authored
    We should not use $PYTHON, because this implicitly depends on the
    python version that was used when the shared part is installed, leading
    to this kind of problematic scenarios:
     - install the part from a python2.7 software, this creates scripts
      with "python2.7" in shebang line
     - install a python3 software referencing glib, it uses the shared
      part that was installed with python2, but "python2.7" is not in $PATH
    
    By referencing the part explicitly, it becomes part of the signature
    of the part, so a software on python2 and a software on python3 will
    use a different version of the shared part.
    dc38f571
buildout.cfg 1.24 KB