Uses virtualenv instead of nix python packages.
This commit is contained in:
parent
988524bb8f
commit
9ded99fbc6
|
@ -0,0 +1,3 @@
|
||||||
|
jedi
|
||||||
|
pylint
|
||||||
|
regex
|
|
@ -2,11 +2,12 @@
|
||||||
pkgs.mkShell ({
|
pkgs.mkShell ({
|
||||||
buildInputs = (with pkgs; [
|
buildInputs = (with pkgs; [
|
||||||
poppler_utils
|
poppler_utils
|
||||||
(
|
python3
|
||||||
python3.withPackages (ps: with ps; [regex])
|
|
||||||
)
|
|
||||||
]);
|
]);
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
python -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
pip install -r requirements.txt
|
||||||
echo ========================
|
echo ========================
|
||||||
cat ./README
|
cat ./README
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue