-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #761 from opensafely-core/remove-update-wheels
Remove update-wheels command
- Loading branch information
Showing
1 changed file
with
0 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,23 +181,3 @@ run repo action: devenv | |
# required by docker-compose.yaml | ||
dotenv: | ||
cp dotenv-sample .env | ||
|
||
update-wheels: devenv | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
if test -d lib; then | ||
git -C lib pull | ||
else | ||
git clone [email protected]:opensafely/job-runner-dependencies.git lib | ||
fi | ||
# wipe clean to remove old packages and start fresh each time | ||
rm lib/* -rf | ||
# restore README.md, as we don't want to delete that | ||
git -C lib checkout README.md | ||
|
||
# Now install the dependencies | ||
$BIN/pip install -U -r requirements.prod.txt -r requirements.tools.txt --target lib | ||
cp requirements.prod.txt requirements.tools.txt lib/ | ||
# remove any .so libs | ||
find lib/ -name \*.so -exec rm {} \; |