Skip to content

Commit 6c33ae9

Browse files
author
Justin Boswell
authored
fixed py package installs in CD (#118)
1 parent ec86bde commit 6c33ae9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

continuous-delivery/publish_to_prod_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ phases:
55
commands:
66
- sudo apt-get update -y
77
- sudo apt-get install python3 python3-pip -y
8+
- export PATH=$PATH:$HOME/.local/bin
89
- python3 -m pip install --user --upgrade pip
9-
- python3 -m pip install --user --upgrade twine setuptools wheel boto3 PyOpenSSL six
10+
- python3 -m pip install --user --upgrade twine setuptools wheel awscli PyOpenSSL six
1011
pre_build:
1112
commands:
1213
- cd aws-iot-device-sdk-python-v2
@@ -22,4 +23,3 @@ phases:
2223
post_build:
2324
commands:
2425
- echo Build completed on `date`
25-

continuous-delivery/publish_to_test_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ phases:
55
commands:
66
- sudo apt-get update -y
77
- sudo apt-get install python3 python3-pip -y
8+
- export PATH=$PATH:$HOME/.local/bin
89
- python3 -m pip install --user --upgrade pip
9-
- python3 -m pip install --user --upgrade twine setuptools wheel boto3 PyOpenSSL six
10+
- python3 -m pip install --user --upgrade twine setuptools wheel awscli PyOpenSSL six
1011
pre_build:
1112
commands:
1213
- pypirc=$(aws secretsmanager get-secret-value --secret-id "alpha/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
@@ -22,4 +23,3 @@ phases:
2223
post_build:
2324
commands:
2425
- echo Build completed on `date`
25-

0 commit comments

Comments
 (0)