Uses virtualenv instead of nix python packages.

master
pca006132 2020-07-28 16:32:52 +08:00
parent 988524bb8f
commit 9ded99fbc6
2 changed files with 7 additions and 3 deletions

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
jedi
pylint
regex

View File

@ -2,11 +2,12 @@
pkgs.mkShell ({
buildInputs = (with pkgs; [
poppler_utils
(
python3.withPackages (ps: with ps; [regex])
)
python3
]);
shellHook = ''
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
echo ========================
cat ./README
'';