aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2021-03-01 11:35:34 -0500
committerBryan Brattlof <hello@bryanbrattlof.com>2021-03-01 11:46:55 -0500
commit3d70d02d0aa2552fb5914837db71f635c765e539 (patch)
tree773c271f68b190942b3db7351fc4695b18b5df8c
parent53e1f4e281b5603cb1b8eea5b2f9dc0f960bfd82 (diff)
downloadpelican-htmlmin-3d70d02d0aa2552fb5914837db71f635c765e539.tar.gz
pelican-htmlmin-3d70d02d0aa2552fb5914837db71f635c765e539.tar.bz2
move plugin into pelican's plugin folder
-rw-r--r--pelican/plugins/htmlmin/__init__.py1
-rw-r--r--pelican/plugins/htmlmin/minify.py (renamed from pelican_htmlmin/minify.py)0
-rw-r--r--pelican_htmlmin/__init__.py1
-rw-r--r--setup.py2
4 files changed, 2 insertions, 2 deletions
diff --git a/pelican/plugins/htmlmin/__init__.py b/pelican/plugins/htmlmin/__init__.py
new file mode 100644
index 0000000..3cce606
--- /dev/null
+++ b/pelican/plugins/htmlmin/__init__.py
@@ -0,0 +1 @@
+from .minify import * # NOQA
diff --git a/pelican_htmlmin/minify.py b/pelican/plugins/htmlmin/minify.py
index 10e8a4c..10e8a4c 100644
--- a/pelican_htmlmin/minify.py
+++ b/pelican/plugins/htmlmin/minify.py
diff --git a/pelican_htmlmin/__init__.py b/pelican_htmlmin/__init__.py
deleted file mode 100644
index 73ff73b..0000000
--- a/pelican_htmlmin/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from .minify import register
diff --git a/setup.py b/setup.py
index 8602829..0a146fa 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ DESCRIPTION = open(os.path.join(pwd, 'readme.rst'), encoding='utf-8').read()
setup(
name='pelican-htmlmin',
- packages=['pelican_htmlmin'],
+ packages=['pelican/plugins/htmlmin'],
version=VERSION,
url='https://git.bryanbrattlof.com/pelican-htmlmin',