From bad9c3e4a5b8c4f24388ff9b4984b707b438e6c3 Mon Sep 17 00:00:00 2001 From: Stefan Ulbrich <6009224+StefanUlbrich@users.noreply.github.com> Date: Sat, 16 Jul 2022 00:45:45 +0200 Subject: [PATCH 1/2] Mark package as typed --- pyproject.toml | 2 +- src/{design_by_contract.py => design_by_contract/__init__.py} | 0 src/design_by_contract/py.typed | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{design_by_contract.py => design_by_contract/__init__.py} (100%) create mode 100644 src/design_by_contract/py.typed diff --git a/pyproject.toml b/pyproject.toml index 51f96fe..933895d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" repository = "https://github.com/StefanUlbrich/design-by-contract" readme = "Readme.md" packages = [ - { include = "design_by_contract.py", from = "src" }, + { include = "design_by_contract", from = "src" }, ] classifiers = [ "Topic :: Software Development :: Documentation", diff --git a/src/design_by_contract.py b/src/design_by_contract/__init__.py similarity index 100% rename from src/design_by_contract.py rename to src/design_by_contract/__init__.py diff --git a/src/design_by_contract/py.typed b/src/design_by_contract/py.typed new file mode 100644 index 0000000..e69de29 From 531183a0da8b7bbaa9df0ffa25778340e1a41eaa Mon Sep 17 00:00:00 2001 From: Stefan Ulbrich <6009224+StefanUlbrich@users.noreply.github.com> Date: Sat, 16 Jul 2022 11:03:47 +0200 Subject: [PATCH 2/2] Simplify pyproject.toml --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 933895d..72bf38e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,9 +6,7 @@ authors = ["Stefan Ulbrich"] license = "MIT" repository = "https://github.com/StefanUlbrich/design-by-contract" readme = "Readme.md" -packages = [ - { include = "design_by_contract", from = "src" }, -] + classifiers = [ "Topic :: Software Development :: Documentation", "Topic :: Software Development :: Quality Assurance",