diff --git a/__init__.py b/pelican/plugins/activitypub/__init__.py similarity index 100% rename from __init__.py rename to pelican/plugins/activitypub/__init__.py diff --git a/activitypub.py b/pelican/plugins/activitypub/activitypub.py similarity index 99% rename from activitypub.py rename to pelican/plugins/activitypub/activitypub.py index 9205535..01ed1fb 100644 --- a/activitypub.py +++ b/pelican/plugins/activitypub/activitypub.py @@ -12,7 +12,7 @@ from pelican import signals log = logging.getLogger(__name__) -__version__ = '0.1.1' +__version__ = '0.1.2' pagination = 25 diff --git a/pyproject.toml b/pyproject.toml index 531672d..685d567 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [project] name = "pelican-plugin-activitypub" -version = "0.1.1" +dynamic = ["version"] description = "Pelican plugin implementing Activitypub" authors = [{name = "s3lph", email = "s3lph@kabelsalat.ch"}, {name = "Tobias Schmidl", email = "tobias@schmidl.dev"}] license = { text = "MIT" } @@ -37,3 +37,6 @@ Tracker = "https://git.kabelsalat.ch/s3lph/pelican-plugin-activitypub/issues" [build-system] requires = ["setuptools >= 61.0"] build-backend = "setuptools.build_meta" + +[tool.setuptools.dynamic] +version = {attr = "pelican.plugins.activitypub.activitypub.__version__"}