@@ -34,7 +34,7 @@ function build-python27 {
3434 echo " Building New Relic layer for python2.7"
3535 rm -rf $BUILD_DIR $PY27_DIST
3636 mkdir -p $DIST_DIR
37- pip install --no-cache-dir -qU newrelic -t $BUILD_DIR /lib/python2.7/site-packages
37+ pip install --no-cache-dir -qU newrelic-lambda -t $BUILD_DIR /lib/python2.7/site-packages
3838 cp newrelic_lambda_wrapper.py $BUILD_DIR /lib/python2.7/site-packages/newrelic_lambda_wrapper.py
3939 find $BUILD_DIR -name ' *.pyc' -exec rm -f {} +
4040 zip -rq $PY27_DIST $BUILD_DIR
@@ -84,7 +84,7 @@ function build-python36 {
8484 echo " Building New Relic layer for python3.6"
8585 rm -rf $BUILD_DIR $PY36_DIST
8686 mkdir -p $DIST_DIR
87- pip install --no-cache-dir -qU newrelic -t $BUILD_DIR /lib/python3.6/site-packages
87+ pip install --no-cache-dir -qU newrelic-lambda -t $BUILD_DIR /lib/python3.6/site-packages
8888 cp newrelic_lambda_wrapper.py $BUILD_DIR /lib/python3.6/site-packages/newrelic_lambda_wrapper.py
8989 find $BUILD_DIR -name ' __pycache__' -exec rm -rf {} +
9090 zip -rq $PY36_DIST $BUILD_DIR
@@ -134,7 +134,7 @@ function build-python37 {
134134 echo " Building New Relic layer for python3.7"
135135 rm -rf $BUILD_DIR $PY37_DIST
136136 mkdir -p $DIST_DIR
137- pip install --no-cache-dir -qU newrelic -t $BUILD_DIR /lib/python3.7/site-packages
137+ pip install --no-cache-dir -qU newrelic-lambda -t $BUILD_DIR /lib/python3.7/site-packages
138138 cp newrelic_lambda_wrapper.py $BUILD_DIR /lib/python3.7/site-packages/newrelic_lambda_wrapper.py
139139 find $BUILD_DIR -name ' __pycache__' -exec rm -rf {} +
140140 zip -rq $PY37_DIST $BUILD_DIR
@@ -184,7 +184,7 @@ function build-python38 {
184184 echo " Building New Relic layer for python3.8"
185185 rm -rf $BUILD_DIR $PY38_DIST
186186 mkdir -p $DIST_DIR
187- pip install --no-cache-dir -qU newrelic -t $BUILD_DIR /lib/python3.8/site-packages
187+ pip install --no-cache-dir -qU newrelic-lambda -t $BUILD_DIR /lib/python3.8/site-packages
188188 cp newrelic_lambda_wrapper.py $BUILD_DIR /lib/python3.8/site-packages/newrelic_lambda_wrapper.py
189189 find $BUILD_DIR -name ' __pycache__' -exec rm -rf {} +
190190 zip -rq $PY38_DIST $BUILD_DIR
0 commit comments