From e1a7d9f613267637beb3636b97cbf9591eb412a4 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 13 Jan 2023 18:42:12 +0100 Subject: [PATCH] Move plugin to nested folder for easy installation Moved the plugin files to the directory structure they will have in the python site-packages directory, being placed within the plugs directory of the pubs application directory. --- {extract => pubs/plugs/extract}/__init__.py | 0 {extract => pubs/plugs/extract}/annotation.py | 0 {extract => pubs/plugs/extract}/extract.py | 0 pyproject.toml | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {extract => pubs/plugs/extract}/__init__.py (100%) rename {extract => pubs/plugs/extract}/annotation.py (100%) rename {extract => pubs/plugs/extract}/extract.py (100%) diff --git a/extract/__init__.py b/pubs/plugs/extract/__init__.py similarity index 100% rename from extract/__init__.py rename to pubs/plugs/extract/__init__.py diff --git a/extract/annotation.py b/pubs/plugs/extract/annotation.py similarity index 100% rename from extract/annotation.py rename to pubs/plugs/extract/annotation.py diff --git a/extract/extract.py b/pubs/plugs/extract/extract.py similarity index 100% rename from extract/extract.py rename to pubs/plugs/extract/extract.py diff --git a/pyproject.toml b/pyproject.toml index 7bab3e1..0ee52ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "A pdf annotation extraction plugin for pubs bibliography manager" authors = ["Marty Oehme "] license = "LGPL-3.0" readme = "README.md" -packages = [{include = "extract"}] +packages = [{include = "pubs"}] [tool.poetry.dependencies] python = "^3.10"