Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
versiongenerate Namespace Reference

Variables

list input_dir sys.argv[1]
 
list output_dir sys.argv[2]
 
tuple config_file open("%s/configure.ac" % input_dir, 'r')
 
int buffer_size 1024
 
tuple opening_string config_file.read(buffer_size)
 
tuple version_expression
 
tuple version_values version_expression.search(opening_string)
 
tuple major_version version_values.group(1)
 
tuple minor_version version_values.group(2)
 
tuple fix_version version_values.group(3)
 
string file_data
 
tuple version_file open("%s/Version.h" % output_dir, 'w')
 

Variable Documentation

int versiongenerate.buffer_size 1024

Definition at line 65 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 65 of file versiongenerate.py

Referenced by main(), and rcdaqEventiterator.read_next_buffer().

tuple versiongenerate.config_file open("%s/configure.ac" % input_dir, 'r')

Definition at line 64 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 64 of file versiongenerate.py

Referenced by main(), and Hydroinfo_MUSIC.readHydroData().

string versiongenerate.file_data
Initial value:
1 """//
2 // DO NOT MODIFY THIS FILE (but you can delete it)
3 //
4 // This file is autogenerated by the versiongenerate.py script. This script
5 // is executed in a "Run Script" build phase when creating gtest.framework. This
6 // header file is not used during compilation of C-source. Rather, it simply
7 // defines some version strings for substitution in the Info.plist. Because of
8 // this, we are not not restricted to C-syntax nor are we using include guards.
9 //
10 
11 #define GTEST_VERSIONINFO_SHORT %s.%s
12 #define GTEST_VERSIONINFO_LONG %s.%s.%s
13 
14 """

Definition at line 84 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 84 of file versiongenerate.py

tuple versiongenerate.fix_version version_values.group(3)

Definition at line 80 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 80 of file versiongenerate.py

list versiongenerate.input_dir sys.argv[1]

Definition at line 60 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 60 of file versiongenerate.py

tuple versiongenerate.major_version version_values.group(1)

Definition at line 78 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 78 of file versiongenerate.py

tuple versiongenerate.minor_version version_values.group(2)

Definition at line 79 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 79 of file versiongenerate.py

tuple versiongenerate.opening_string config_file.read(buffer_size)

Definition at line 66 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 66 of file versiongenerate.py

list versiongenerate.output_dir sys.argv[2]

Definition at line 61 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 61 of file versiongenerate.py

Referenced by testing::internal::XmlUnitTestResultPrinter.OnTestIterationEnd().

tuple versiongenerate.version_expression
Initial value:
1 re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)",
2  re.DOTALL)

Definition at line 75 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 75 of file versiongenerate.py

tuple versiongenerate.version_file open("%s/Version.h" % output_dir, 'w')

Definition at line 98 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 98 of file versiongenerate.py

tuple versiongenerate.version_values version_expression.search(opening_string)

Definition at line 77 of file versiongenerate.py.

View newest version in sPHENIX GitHub at line 77 of file versiongenerate.py