mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-19 05:21:22 +02:00
* Revert "Fix end-to-end tests (synapse setup) (#7420)" This reverts commit b90a0c443db141920c7f1af94e71ed0b1d78f74e. * Re-apply the modernized pip install approach * setuptools2
19 lines
391 B
Bash
Executable File
19 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
|
|
)
|