Skip to content

Commit 433fad2

Browse files
committed
added nix shell file
1 parent 4fb451f commit 433fad2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

shell.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{ pkgs ? import <nixpkgs> {} }:
2+
pkgs.mkShell {
3+
name = "python-shell";
4+
buildInputs = with pkgs; [
5+
python38
6+
python38Packages.tox
7+
python38Packages.setuptools
8+
python38Packages.virtualenv
9+
];
10+
}

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist = py38
33

44
[testenv]
5+
passenv = PYTHONPATH
56
deps =
67
pytest
78
flake8

0 commit comments

Comments
 (0)