1
##############################################################################
3
# Copyright (c) 2009 The MadGraph Development team and Contributors
5
# This file is a part of the MadGraph 5 project, an application which
6
# automatically generates Feynman diagrams and matrix elements for arbitrary
7
# high-energy processes in the Standard Model and beyond.
9
# It is subject to the MadGraph license which should accompany this
12
# For more information, please visit: http://madgraph.phys.ucl.ac.be
14
##############################################################################
16
"""A set of functions performing routine administrative I/O tasks."""
22
"""Returns the current version of the MadGraph package, as written in
23
the VERSION text file. If the file cannot be found, UNKNOWN is
29
version_file = fopen(os.path.join(madgraph.__path__, "VERSION"), 'r')
31
version = version_file.read()