diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index bc42b6408876eaee6a19469bc5abc6074810cb66..6e8f05e093cf98b6f6128b6922f189da258bda44 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -123,6 +123,11 @@ file(GLOB DDG4_python python/*.py python/*.C) install(FILES ${DDG4_python} DESTINATION lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages) install(PROGRAMS python/DDSim/bin/ddsim DESTINATION bin) + +install(PROGRAMS python/bin/checkOverlaps.py DESTINATION bin RENAME checkOverlaps) +install(PROGRAMS python/bin/checkGeometry.py DESTINATION bin RENAME checkGeometry) +install(PROGRAMS python/bin/g4MaterialScan.py DESTINATION bin RENAME g4MaterialScan) + install(DIRECTORY python/DDSim DESTINATION lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages) install(DIRECTORY examples DESTINATION examples/DDG4) diff --git a/DDG4/python/checkGeometry.py b/DDG4/python/bin/checkGeometry.py similarity index 99% rename from DDG4/python/checkGeometry.py rename to DDG4/python/bin/checkGeometry.py index 3f414f852adf5b3749e758c800fae15e4c3a1b75..a64a52a9f1b32e951199b29f3532e7a7bf7b15bb 100755 --- a/DDG4/python/checkGeometry.py +++ b/DDG4/python/bin/checkGeometry.py @@ -1,4 +1,4 @@ -#!/bin/python +#!/usr/bin/env python # ========================================================================== # AIDA Detector description implementation # -------------------------------------------------------------------------- diff --git a/DDG4/python/checkOverlaps.py b/DDG4/python/bin/checkOverlaps.py similarity index 99% rename from DDG4/python/checkOverlaps.py rename to DDG4/python/bin/checkOverlaps.py index 717ccfaa060bae03d842bebd584bd6818c095ba0..af120811cbe0ff147e5ca5dda5de8eadce7b22fd 100755 --- a/DDG4/python/checkOverlaps.py +++ b/DDG4/python/bin/checkOverlaps.py @@ -1,4 +1,4 @@ -#!/bin/python +#!/usr/bin/env python # ========================================================================== # AIDA Detector description implementation # -------------------------------------------------------------------------- diff --git a/DDG4/python/g4MaterialScan.py b/DDG4/python/bin/g4MaterialScan.py old mode 100644 new mode 100755 similarity index 99% rename from DDG4/python/g4MaterialScan.py rename to DDG4/python/bin/g4MaterialScan.py index 8df59a90715697fb0ddd1c1309840b3a0734a70d..0a5387f97154b3ca3a8182899d32bc6d8c7fb384 --- a/DDG4/python/g4MaterialScan.py +++ b/DDG4/python/bin/g4MaterialScan.py @@ -1,4 +1,4 @@ -#!/bin/python +#!/usr/bin/env python # ========================================================================== # AIDA Detector description implementation # --------------------------------------------------------------------------