File size: 568 Bytes
315c83c
aacdac2
315c83c
 
 
472206c
 
 
 
 
 
cb27467
472206c
cb27467
472206c
 
48ec898
aacdac2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

CONDA_ENV=$(head -1 /code/environment.yml | cut -d" " -f2)
eval "$(conda shell.bash hook)"
conda activate $CONDA_ENV
rm -rf /var/lib/apt/lists/*
apt update
apt-get install -y git 	git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx
git lfs install
git clone https://github.com/python/cpython
cd cpython
./configure --enable-optimizations --with-lto --prefix=$HOME/python
make
make test
make install
python -m pip install --upgrade --no-cache-dir pip
python -m pip install --upgrade --no-cache-dir -r deps.txt
python ./code.py