From 113ec3130c5e25032513d0bd17785e2fc7b8b0a3 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Fri, 13 Oct 2023 15:20:28 +0200 Subject: [PATCH] renamed source directory --- flake.nix | 4 +++- pyproject.toml | 4 ++-- {outage_detector => src}/__init__.py | 0 {outage_detector => src}/main.py | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename {outage_detector => src}/__init__.py (100%) rename {outage_detector => src}/main.py (100%) diff --git a/flake.nix b/flake.nix index e51299a..76f4829 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,9 @@ # `nix build` packages = forAllSystems (system: { - default = pkgs.${system}.poetry2nix.mkPoetryApplication {projectDir = self;}; + default = pkgs.${system}.poetry2nix.mkPoetryApplication { + projectDir = self; + }; }); # `nix develop` diff --git a/pyproject.toml b/pyproject.toml index 5a30b77..d333f49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,14 @@ version = "0.1.0" description = "" authors = ["Kristian Krsnik "] readme = "README.md" -packages = [{ include = "outage_detector" }] +packages = [{ include = "src" }] [tool.poetry.dependencies] python = "^3.10" requests = "2.29.0" [tool.poetry.scripts] -outage-detector = "outage_detector.main:main" +outage-detector = "src.main:main" [build-system] requires = ["poetry-core"] diff --git a/outage_detector/__init__.py b/src/__init__.py similarity index 100% rename from outage_detector/__init__.py rename to src/__init__.py diff --git a/outage_detector/main.py b/src/main.py similarity index 100% rename from outage_detector/main.py rename to src/main.py