2019-10-18 17:18:18 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
BASE_DIR=$(cd $(dirname $0) && pwd)
|
|
|
|
cd $BASE_DIR
|
|
|
|
# Install ComplexHttpServer (a drop in replacement for Python's SimpleHttpServer
|
|
|
|
# but with support for multiple threads) into a virtualenv.
|
|
|
|
(
|
|
|
|
virtualenv -p python3 env
|
|
|
|
source env/bin/activate
|
|
|
|
|
2021-12-21 03:12:07 +01:00
|
|
|
pip install --upgrade pip
|
2022-03-21 23:30:36 +01:00
|
|
|
pip install --upgrade setuptools
|
2019-10-18 17:18:18 +02:00
|
|
|
|
|
|
|
pip install ComplexHttpServer
|
|
|
|
|
|
|
|
deactivate
|
|
|
|
)
|