-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
55 additions
and
85 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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
set -x | ||
rm -rf venv | ||
rm -rf .venv | ||
rm -rf .env_* | ||
rm -rf transcribe_anything/venv | ||
# remove all *.pyc files | ||
find . -name "*.pyc" -exec rm -rf {} \; | ||
# remove all *.egg files | ||
find . -name "*.egg" -exec rm -rf {} \; | ||
rm -rf build | ||
rm -rf dist | ||
rm -rf *.egg-info | ||
rm -rf .eggs | ||
rm -rf .tox | ||
rm -rf .cache | ||
rm -rf .pytest_cache | ||
rm -rf .mypy_cache | ||
rm -rf .coverage | ||
rm -rf .iso_env |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -e | ||
uv venv --python 3.11 | ||
uv pip install -r requirements.testing.txt | ||
uv pip install . | ||
# This is needed to force the installation to finalize. | ||
uv run python -c "import os; _ = os.getcwd()" | ||
set +e | ||
|
||
# if ./activate exists, remove it | ||
if [ -f activate ]; then | ||
rm activate | ||
fi | ||
# symlink activate to .venv/bin/activate on linux/mac and .venv/Scripts/activate on windows | ||
if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "darwin"* ]]; then | ||
ln -s .venv/bin/activate activate | ||
else | ||
ln -s .venv/Scripts/activate activate | ||
fi | ||
|
||
# if on windows symlink .venv/bin -> .venv/Scripts | ||
if [[ "$OSTYPE" == "msys" ]]; then | ||
if [ -d .venv/bin ]; then | ||
rm -rf .venv/Scripts | ||
ln -s bin .venv/Scripts | ||
fi | ||
fi |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.