You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
358 B
Bash
8 lines
358 B
Bash
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Skript to generate Python version specific requirements files in docker containers
|
||
|
|
||
|
for PY_VERSION in 3.5 3.6 3.7 3.8 3.9; do
|
||
|
docker run --rm -it -v "${PWD}:/dinglehopper" python:${PY_VERSION} /bin/bash -c "cd /dinglehopper ; pip install pip-tools ; pip-compile --output-file py${PY_VERSION}-requirements.txt requirements.in"
|
||
|
done
|