Skip to content
Snippets Groups Projects
Select Git revision
  • 5ca8a4d1fc2a9ab06a7a8e007a1b78a16c901d9b
  • master default protected
  • dev_mathis
  • develop
  • colored_track
  • show-text
  • dev_gian
  • efb-rendering
  • develop_marc
  • docstrings
  • pdocs
  • 0.4.0 protected
  • 0.3.6.1 protected
  • 0.3.6 protected
  • 0.3.5 protected
  • 0.3.4 protected
  • 0.3.3 protected
  • 0.3.2.3 protected
  • 0.3.2.2 protected
  • 0.3.2.1 protected
  • 0.3.2 protected
  • 0.3.1 protected
  • 0.3.0 protected
  • 0.2.16 protected
  • 0.2.15 protected
  • 0.2.14 protected
  • 0.2.13 protected
  • 0.2.12 protected
  • 0.2.11 protected
  • 0.2.10 protected
  • 0.2.9 protected
31 results

build.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    build.py 486 B
    #! /usr/bin/env python3
    # SPDX-License-Identifier: LGPL-3.0-or-later
    
    from os import environ as env
    from subprocess import check_call
    from platform import system
    from sys import executable
    
    
    def python_executable():
        if system() == "Windows":
            return executable
        elif system() == "Linux":
            return env["PYTHON_EXECUTABLE"]
        assert False
    
    
    if __name__ == "__main__":
        command = [python_executable()]
        command += ["setup.py", "build"]
    
        check_call(command)