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

Go to the source code of this file.

Namespaces

namespace  versiongenerate
 

Variables

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