Project setup

This commit is contained in:
maxstrb 2025-12-12 10:41:00 +01:00
commit 1e954ba6f5
4 changed files with 26 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.direnv

23
flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
description = "My python development shell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {nixpkgs, ...} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
devShells."${system}" = {
default = pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (python-pkgs: [
python-pkgs.numpy
python-pkgs.pandas
]))
];
};
};
};
}

0
main.py Normal file
View file