From 588875e6e05d94f8b3acd18d9f7c84b8d9f9ed32 Mon Sep 17 00:00:00 2001 From: Kai Schlamp Date: Mon, 21 Aug 2023 15:10:48 +0200 Subject: [PATCH] Make client Python conform --- adit-client/adit-client/__init__.py | 0 adit-client/adit_client/__init__.py | 3 +++ adit-client/{adit-client => adit_client}/client.py | 0 adit-client/pyproject.toml | 4 ++-- 4 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 adit-client/adit-client/__init__.py create mode 100644 adit-client/adit_client/__init__.py rename adit-client/{adit-client => adit_client}/client.py (100%) diff --git a/adit-client/adit-client/__init__.py b/adit-client/adit-client/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/adit-client/adit_client/__init__.py b/adit-client/adit_client/__init__.py new file mode 100644 index 00000000..56de5ce9 --- /dev/null +++ b/adit-client/adit_client/__init__.py @@ -0,0 +1,3 @@ +from .client import AditClient + +__all__ = ["AditClient"] diff --git a/adit-client/adit-client/client.py b/adit-client/adit_client/client.py similarity index 100% rename from adit-client/adit-client/client.py rename to adit-client/adit_client/client.py diff --git a/adit-client/pyproject.toml b/adit-client/pyproject.toml index c6360a4a..03e6096d 100644 --- a/adit-client/pyproject.toml +++ b/adit-client/pyproject.toml @@ -1,11 +1,11 @@ [tool.poetry] name = "adit-client" -version = "0.1.0" +version = "0.2.0" description = "ADIT Client library to connect to an ADIT server." authors = ["Kai Schlamp "] license = "GPL-3.0-or-later" readme = "README.md" -packages = [{ include = "adit-client" }] +packages = [{ include = "adit_client" }] [tool.poetry.dependencies] python = "^3.11"