Skip to content

Commit

Permalink
add virtualenvwrapper hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dhellmann committed Jan 27, 2024
1 parent eef9a2c commit f34152b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .virtualenvwrapper/postactivate
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- shell-script -*-

#export PYENCHANT_LIBRARY_PATH=/opt/homebrew/Cellar/enchant/2.6.4/lib/libenchant-2.2.dylib
if [ $(uname) = Darwin ]; then
export PYENCHANT_LIBRARY_PATH=$(brew list enchant | grep 'libenchant-.*\.dylib' | head -n 1)
fi
3 changes: 3 additions & 0 deletions .virtualenvwrapper/predeactivate
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- shell-script -*-

unset PYENCHANT_LIBRARY_PATH

0 comments on commit f34152b

Please sign in to comment.