From 6e44ec49353618d00dcf9637c8885083863d43f8 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Fri, 13 Oct 2023 14:58:58 +0200 Subject: [PATCH] renamed source directory --- flake.nix | 4 +++- pyproject.toml | 4 ++-- {dyn_gandi => src}/__init__.py | 0 {dyn_gandi => src}/main.py | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename {dyn_gandi => src}/__init__.py (100%) rename {dyn_gandi => src}/main.py (100%) diff --git a/flake.nix b/flake.nix index b7bcf03..44c8632 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 a41b277..a79aabb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,14 @@ version = "0.1.0" description = "A DNS updater" authors = ["Kristian Krsnik "] readme = "README.md" -packages = [{ include = "dyn_gandi" }] +packages = [{ include = "src" }] [tool.poetry.dependencies] python = "^3.10" requests = "2.29.0" [tool.poetry.scripts] -dyn-gandi = "dyn_gandi.main:main" +dyn-gandi = "src.main:main" [build-system] requires = ["poetry-core"] diff --git a/dyn_gandi/__init__.py b/src/__init__.py similarity index 100% rename from dyn_gandi/__init__.py rename to src/__init__.py diff --git a/dyn_gandi/main.py b/src/main.py similarity index 100% rename from dyn_gandi/main.py rename to src/main.py