AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Variables
versiongenerate.py File Reference

Namespaces

 versiongenerate
 

Variables

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0