Skip to content
Snippets Groups Projects
Unverified Commit ad6297c5 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone Committed by GitHub
Browse files

Merge pull request #317 from PrivateStorageio/nix-devshell-pythonpath

Some Nix-based development environment amenities
parents 6ba8fbbc 0d9ca381
No related branches found
No related tags found
No related merge requests found
# support elpy
pip
setuptools
jedi
......@@ -18,6 +18,7 @@ let
requirements =
''
${builtins.readFile ./requirements/test.in}
${builtins.readFile ./requirements/elpy.in}
${zkapauthorizer.requirements}
'';
};
......@@ -27,6 +28,10 @@ pkgs.mkShell {
# runs.
PYTHONDONTWRITEBYTECODE = "1";
# Put this source tree into the Python import path, too, for a `setup.py
# develop`-like experience.
PYTHONPATH = "${builtins.toString ./.}/src";
buildInputs = [
# Supply all of the runtime and testing dependencies.
python-env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment