File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 77import json
88
99# The following values are used in the documentation, so any change of them requires updates to the documentation.
10- LAYER_NAME = 'AWSCodeGuruProfilerPythonAgentLambdaLayerTestDev '
10+ LAYER_NAME = 'AWSCodeGuruProfilerPythonAgentLambdaLayer '
1111SUPPORTED_VERSIONS = ['3.6' , '3.7' , '3.8' ]
1212EXEC_SCRIPT_FILE_NAME = 'codeguru_profiler_lambda_exec'
1313
@@ -56,6 +56,10 @@ def read(*parts):
5656
5757
5858def find_version (* file_paths ):
59+ """
60+ To keep track of which PyPI version corresponds to which layer version we cross reference the PyPI x¬version in the layer description.
61+ This function is used to read the PyPi directly from the source code.
62+ """
5963 version_file = read (* file_paths )
6064 version_match = re .search (r"^__agent_version__ = ['\"]([^'\"]*)['\"]" , version_file , re .M )
6165 if version_match :
You can’t perform that action at this time.
0 commit comments