2019-10-18 15:18:18 +00: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 02:12:07 +00:00
|
|
|
pip install --upgrade pip
|
2022-03-21 22:30:36 +00:00
|
|
|
pip install --upgrade setuptools
|
2019-10-18 15:18:18 +00:00
|
|
|
|
|
|
|
pip install ComplexHttpServer
|
|
|
|
|
|
|
|
deactivate
|
|
|
|
)
|