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