File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,25 @@ function shutdown () {
15
15
16
16
trap shutdown ERR
17
17
18
+ echo " Installing requirements"
19
+ apt-get update
20
+
21
+ # Install non-Python dependencies
22
+ apt-get -y install git unzip
23
+
24
+ # Install deadsnakes (and pretende that we're on Ubuntu...)
25
+ apt-get -y install software-properties-common python3-launchpadlib
26
+ add-apt-repository --yes --no-update --ppa ppa:deadsnakes/ppa
27
+ sed --in-place s/bookworm/jammy/ /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-bookworm.list
18
28
apt-get update
19
- apt-get -y install git python3.7 python3.7-venv unzip wget
29
+
30
+ # Install Python
31
+ apt-get -y install python3.7 python3.7-venv
20
32
21
33
cd /tmp
22
34
git clone https://github.com/ebmdatalab/clinicaltrials-act-converter.git
23
35
cd clinicaltrials-act-converter
24
36
25
- echo " Installing requirements"
26
37
python3.7 -m venv venv
27
38
venv/bin/pip install -r requirements.txt
28
39
You can’t perform that action at this time.
0 commit comments