From 7997b74a8e0e53e52acc43e6d9913f241abb4e26 Mon Sep 17 00:00:00 2001 From: Mariana Date: Fri, 29 Nov 2024 11:10:19 +0100 Subject: [PATCH 1/2] export module in __init__.py --- pyproject.toml | 3 +++ src/mango_mdconverter/__init__.py | 1 + 2 files changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fdda447..0372d1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,9 @@ repository = "https://github.com/kuleuven/mango-mdconverter" dependencies = {file = ["requirements.txt"]} optional-dependencies.dev = { file = ["requirements-dev.txt"] } +[tool.setuptools] +package-dir = {"" = "src"} + [tool.setuptools.packages.find] include = ['mango_mdconverter', 'mango_mdconverter.*'] diff --git a/src/mango_mdconverter/__init__.py b/src/mango_mdconverter/__init__.py index e69de29..e8dd616 100644 --- a/src/mango_mdconverter/__init__.py +++ b/src/mango_mdconverter/__init__.py @@ -0,0 +1 @@ +__all__ = ["md2dict"] From e4f560e41bee753bf25f37cc91bd2abab9d1fd6c Mon Sep 17 00:00:00 2001 From: Mariana Date: Fri, 29 Nov 2024 11:11:32 +0100 Subject: [PATCH 2/2] increase version for testing --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0372d1f..b26b812 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ name = "mango-mdconverter" description = "ManGO metadata conversion" readme = "README.md" requires-python = ">=3.8" -version = "1.0.2" +version = "1.0.3" license = {file = "LICENSE"} authors = [ { name = "Mariana Montes", email = "mariana.montes@kuleuven.be" },