Skip to content
  • Karl Wette's avatar
    Use Python wrapper scripts instead of self-executing headers · 93c8c17b
    Karl Wette authored
    - Python wrapper sets PYTHONPATH as appropriate, then executes PYTHON
    - Wrapper is then used as a #! command, which avoids interfering with
      Python code (e.g. module-level documentation in """ strings)
    - Wrapper $(builddir)/.python_wrapper used for uninstalled scripts; when
      installed, wrapper substituted with $(pkgdatadir)/python_wrapper
    - Except if LAL package is installed into same executable prefix as Python;
      then $(PYTHON) is used directly and no wrapper is installed
    Original: f2995a5f5066289bf7409dc12711f61b5e53f946
    93c8c17b