diff --git a/chatmaild/pyproject.toml b/chatmaild/pyproject.toml index 09ffc22..56060f0 100644 --- a/chatmaild/pyproject.toml +++ b/chatmaild/pyproject.toml @@ -10,9 +10,9 @@ dependencies = [ ] [project.scripts] -doveauth = "doveauth.doveauth:main" -doveauth-dictproxy = "doveauth.dictproxy:main" -filtermail = "filtermail.filtermail:main" +doveauth = "chatmaild.doveauth:main" +doveauth-dictproxy = "chatmaild.dictproxy:main" +filtermail = "chatmaild.filtermail:main" [tool.pytest.ini_options] addopts = "-v -ra --strict-markers" diff --git a/chatmaild/src/doveauth/__init__.py b/chatmaild/src/chatmaild/__init__.py similarity index 100% rename from chatmaild/src/doveauth/__init__.py rename to chatmaild/src/chatmaild/__init__.py diff --git a/chatmaild/src/doveauth/database.py b/chatmaild/src/chatmaild/database.py similarity index 100% rename from chatmaild/src/doveauth/database.py rename to chatmaild/src/chatmaild/database.py diff --git a/chatmaild/src/doveauth/dictproxy.py b/chatmaild/src/chatmaild/dictproxy.py similarity index 100% rename from chatmaild/src/doveauth/dictproxy.py rename to chatmaild/src/chatmaild/dictproxy.py diff --git a/chatmaild/src/doveauth/doveauth-dictproxy.service b/chatmaild/src/chatmaild/doveauth-dictproxy.service similarity index 100% rename from chatmaild/src/doveauth/doveauth-dictproxy.service rename to chatmaild/src/chatmaild/doveauth-dictproxy.service diff --git a/chatmaild/src/doveauth/doveauth.py b/chatmaild/src/chatmaild/doveauth.py similarity index 100% rename from chatmaild/src/doveauth/doveauth.py rename to chatmaild/src/chatmaild/doveauth.py diff --git a/chatmaild/src/filtermail/filtermail.py b/chatmaild/src/chatmaild/filtermail.py similarity index 100% rename from chatmaild/src/filtermail/filtermail.py rename to chatmaild/src/chatmaild/filtermail.py diff --git a/chatmaild/src/filtermail/filtermail.service b/chatmaild/src/chatmaild/filtermail.service similarity index 100% rename from chatmaild/src/filtermail/filtermail.service rename to chatmaild/src/chatmaild/filtermail.service diff --git a/chatmaild/src/doveauth/test_doveauth.py b/chatmaild/src/chatmaild/test_doveauth.py similarity index 100% rename from chatmaild/src/doveauth/test_doveauth.py rename to chatmaild/src/chatmaild/test_doveauth.py diff --git a/chatmaild/src/filtermail/__init__.py b/chatmaild/src/filtermail/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/deploy-chatmail/src/deploy_chatmail/__init__.py b/deploy-chatmail/src/deploy_chatmail/__init__.py index 05b6df8..16b9952 100644 --- a/deploy-chatmail/src/deploy_chatmail/__init__.py +++ b/deploy-chatmail/src/deploy_chatmail/__init__.py @@ -35,7 +35,7 @@ def _install_chatmaild() -> None: ) files.put( - src=importlib.resources.files("doveauth") + src=importlib.resources.files("chatmaild") .joinpath("doveauth-dictproxy.service") .open("rb"), dest="/etc/systemd/system/doveauth-dictproxy.service", @@ -58,7 +58,7 @@ def _install_chatmaild() -> None: ) files.put( - src=importlib.resources.files("filtermail") + src=importlib.resources.files("chatmaild") .joinpath("filtermail.service") .open("rb"), dest="/etc/systemd/system/filtermail.service", diff --git a/scripts/test.sh b/scripts/test.sh index 01ca14d..64e3bb7 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -pushd doveauth/src/doveauth +pushd chatmaild/src/chatmaild ../../venv/bin/pytest popd