Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -0,0 +1,26 @@
# - build library
file (GLOB PY_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
foreach (_pyfile ${PY_FILES})
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/${_pyfile}
${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} COPYONLY)
list (APPEND PYC_FILES "${CMAKE_CURRENT_BINARY_DIR}/${_pyfile}c")
list (APPEND PYO_FILES "${CMAKE_CURRENT_BINARY_DIR}/${_pyfile}o")
endforeach()
add_custom_target (Geant4Py ALL)
add_custom_command (
TARGET Geant4Py
COMMAND ${PYTHON_EXECUTABLE}
ARGS -m compileall -f ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${PYTHON_EXECUTABLE}
ARGS -O -m compileall -f ${CMAKE_CURRENT_BINARY_DIR}
)
# install
install (FILES ${PY_FILES} DESTINATION ${G4MODULES_INSTALL_DIR})
install (FILES ${PYC_FILES} DESTINATION ${G4MODULES_INSTALL_DIR})
install (FILES ${PYO_FILES} DESTINATION ${G4MODULES_INSTALL_DIR})
+1 -2
View File
@@ -1,5 +1,4 @@
# $Id: GNUmakefile,v 1.1 2010-12-02 08:22:21 kmura Exp $
# $Name: not supported by cvs2svn $
# $Id: GNUmakefile 76884 2013-11-18 12:54:03Z gcosmo $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
+1 -1
View File
@@ -7,7 +7,7 @@
# This package contains a set of Python interface with Geant4.
# ==================================================================
"""
# $Id: __init__.py,v 1.1 2010-12-02 08:22:21 kmura Exp $
# $Id: __init__.py 66892 2013-01-17 10:57:59Z gunter $
__version__ ='9.5.0'
__date__ = '02/December/2011'
__author__ = 'K.Murakami (Koichi.Murakami@kek.jp)'
@@ -7,7 +7,7 @@
# Q, 2005
# ==================================================================
"""
#$Id: colortable.py,v 1.1 2010-12-02 08:22:21 kmura Exp $
#$Id: colortable.py 66892 2013-01-17 10:57:59Z gunter $
def int_rgb(name):
+1 -1
View File
@@ -7,7 +7,7 @@
# Q, 2005
# ==================================================================
"""
#$Id: g4thread.py,v 1.1 2010-12-02 08:22:21 kmura Exp $
#$Id: g4thread.py 66892 2013-01-17 10:57:59Z gunter $
import thread
from G4run import *
+1 -1
View File
@@ -1,4 +1,4 @@
#$Id: g4viscp.py,v 1.1 2010-12-02 08:22:21 kmura Exp $
#$Id: g4viscp.py 66892 2013-01-17 10:57:59Z gunter $
"""
# ==================================================================
# Python module
+1 -1
View File
@@ -8,7 +8,7 @@
# Q, 2005
# ==================================================================
"""
#$Id: hepunit.py,v 1.1 2010-12-02 08:22:21 kmura Exp $
#$Id: hepunit.py 66892 2013-01-17 10:57:59Z gunter $
# ==================================================================
# imported from "SystemOfUnits.h"