Skip to content
Snippets Groups Projects
Commit a6ffcb7e authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.new-pack

parent e4293d93
No related branches found
No related tags found
No related merge requests found
# Pack all dependency into one directory
rm -rf release
pip install -r req.txt --prefix release --ignore-installed
......@@ -7,7 +7,7 @@ cp ../apiserver.py release/
pkg_path=`cd release && find . -type d -name site-packages`
echo "#/bin/bash
PYTHONPATH=$pkg_path python apiserver.py \"$@\"
PYTHONPATH=$pkg_path python3 apiserver.py "'"$@"'"
" > release/entry.sh
chmod +x release/entry.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment