diff --git a/.vscode/launch.json b/.vscode/launch.json index 6d8c679..fe2dc5b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,8 +6,8 @@ "type": "debugpy", "request": "launch", "cwd": "${workspaceFolder}", - "module": "contact.main", + "module": "contact.__main__", "args": [] } ] -} \ No newline at end of file +} diff --git a/contact/main.py b/contact/__main__.py similarity index 100% rename from contact/main.py rename to contact/__main__.py diff --git a/pyproject.toml b/pyproject.toml index 75f7aa4..96d0301 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,4 +21,4 @@ requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] -contact = "contact.main:start" +contact = "contact.__main__:start"