mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
24 lines
365 B
Bash
Executable File
24 lines
365 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source /etc/os-release
|
|
if [[ $ID = "amzn" ]]; then
|
|
yum install -y \
|
|
python3-devel \
|
|
python3-pip
|
|
else
|
|
apt-get update && \
|
|
apt-get install -y \
|
|
python3-dev \
|
|
python3-pip
|
|
fi
|
|
export PATH=/usr/local/bin:$PATH
|
|
|
|
pip3 install pipenv
|
|
pipenv sync
|
|
|
|
if [[ $1 == "--dev" ]]; then
|
|
pipenv sync --dev
|
|
fi
|