Skip to content

Commit

Permalink
fastpbkdf2 is often complex to build, so allow the dev world to work …
Browse files Browse the repository at this point in the history
…without it.
  • Loading branch information
quentinsf committed Jan 8, 2024
1 parent c7597eb commit 426b84a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ charset-normalizer==3.2.0
click==8.1.3
exceptiongroup==1.1.1
fastapi==0.98.0
fastpbkdf2==0.2
filetype==1.2.0
flake8==6.0.0
frozenlist==1.3.3
Expand Down
4 changes: 4 additions & 0 deletions run_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if [ ! -f .venv/bin/activate ]; then
source .venv/bin/activate
pip install -r requirements.txt

# Install fastpbkdf2 if possible. Usually it has to be built and so requires a world
# in which gcc etc are available. If it fails, just warn the user.
pip install fastpbkdf2 || echo "*** WARNING: fastpbkdf2 failed to install. This will make the server slower with encrypted filesystems.***"

# Install AI requirements unless explicitly asked not to.
if [ $NO_AI -eq 0 ]; then
pip install -r rime/plugins/ai_requirements.txt
Expand Down

0 comments on commit 426b84a

Please sign in to comment.