mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
e55136cede
* Revert "Fix end-to-end tests (synapse setup) (#7420)"
This reverts commit b90a0c443d
.
* Re-apply the modernized pip install approach
* setuptools2
18 lines
391 B
Bash
Executable file
18 lines
391 B
Bash
Executable file
#!/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
|
|
|
|
pip install --upgrade pip
|
|
pip install --upgrade setuptools
|
|
|
|
pip install ComplexHttpServer
|
|
|
|
deactivate
|
|
)
|