Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -e
- rm -rf env
- python3 -m venv env
- env/bin/pip install wheel
- env/bin/pip install sqlalchemy
- cat > test.py <<EOF
- from sqlalchemy.cutils import _distill_params
- import time
- while True:
- print('calling function')
- _distill_params((), {})
- time.sleep(1)
- EOF
- sh -c 'sleep 2 && env/bin/pip install -I sqlalchemy' &
- env/bin/python test.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement