File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828 }
2929 run ('mkdir -p .hypernode ' );
3030 run ('virtualenv -p python3 .venv ' );
31+ run ('echo export PYTHONPATH=$(pwd) >> .venv/bin/activate ' );
3132});
3233
3334# Install the requirements
3435task ('python:venv:requirements ' , static function () {
35- run ('.venv/bin/pip install -r requirements/base.txt ' );
36+ run ('source .venv/bin/activate && pip install -r requirements/base.txt ' );
3637});
3738
3839task ('python:generate_redirects ' , static function () {
3940 run ('mkdir -p etc/nginx ' );
40- run ('export PYTHONPATH=$(pwd) ' );
41- run ('.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf ' );
41+ run ('source .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf ' );
4242});
4343
4444# Build the documentation
4545task ('python:build_documentation ' , static function () {
46- run ('./. venv/bin/sphinx-build -b html docs docs/_build/html ' );
46+ run ('.venv/bin/sphinx-build -b html docs docs/_build/html ' );
4747 run ('ln -sf docs/_build/html pub ' );
4848});
4949
You can’t perform that action at this time.
0 commit comments