Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
terryyin committed Dec 3, 2024
1 parent ef8ac19 commit e53314c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ dist/
.local/

.DS_Store
.venv/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 1.17.13

Bug fix:
Replace re.NOFLAG with 0 to make it compatible with Python 3.10+

## 1.17.12

Bug fix:
Expand Down
2 changes: 1 addition & 1 deletion lizard_ext/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#
# pylint: disable=missing-docstring,invalid-name

version = "1.17.12"
version = "1.17.13"
20 changes: 10 additions & 10 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ in mkShell {
python3Full
python39Packages.pip
python39Packages.setuptools
python39Packages.virtualenv
vim
git less
];
shellHook = ''
export PYTHONUSERBASE=$PWD/.local
export USER_SITE=`python -c "import site; print(site.USER_SITE)"`
# bug? it will print 3.8 somehow
export USER_SITE=${"\$\{USER_SITE//3.8/3.9}"}
export PYTHONPATH=$PYTHONPATH:$USER_SITE
export PATH=$PATH:$PYTHONUSERBASE/bin
make deps
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r dev_requirements.txt
# Add local bin to PATH
export PATH=$PATH:$PWD/.venv/bin
'';

}

0 comments on commit e53314c

Please sign in to comment.