From 2921c528276010734c1c4ed32e3531bd46a96e2f Mon Sep 17 00:00:00 2001 From: Emanuele Palazzetti Date: Wed, 30 Aug 2023 13:55:24 +0200 Subject: [PATCH] package: ensure project name is econnect-python; pytest python PATH is `src` (#106) https://github.com/palazzem/econnect-python/pull/106 --- pyproject.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 136de6e..4389e7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["hatchling"] build-backend = "hatchling.build" [project] -name = "elmo" +name = "econnect-python" dynamic = ["version"] description = 'API adapter used to control programmatically an Elmo alarm system' readme = "README.md" @@ -45,8 +45,8 @@ lint = [ ] all = [ - "elmo[dev]", - "elmo[lint]", + "econnect-python[dev]", + "econnect-python[lint]", ] [project.urls] @@ -59,3 +59,6 @@ path = "src/elmo/__about__.py" [tool.hatch.metadata] allow-direct-references = true + +[tool.pytest.ini_options] +pythonpath = "src"