aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <bryanbrattlof@gmail.com>2019-09-08 19:49:00 -0500
committerBryan Brattlof <bryanbrattlof@gmail.com>2019-09-08 20:47:07 -0500
commitd9a19e2ee9eb96225cbc06aa5794894a07218ca9 (patch)
treead9c386e98611c9c58248fa9c13888b0c2ed867f
parent4a135b0c9efcdc0d7083f6971af224a66832c11c (diff)
downloadpelican-htmlmin-d9a19e2ee9eb96225cbc06aa5794894a07218ca9.tar.gz
pelican-htmlmin-d9a19e2ee9eb96225cbc06aa5794894a07218ca9.tar.bz2
add the pypi setup file
-rw-r--r--setup.py55
1 files changed, 55 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..80bf6c4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,55 @@
+from setuptools import setup
+from io import open
+import os
+
+pwd = os.path.abspath(os.path.dirname(__file__))
+
+VERSION = os.environ.get('CI_COMMIT_TAG', '0.0.0')
+
+REQUIRES = [
+ 'htmlmin',
+]
+
+description = open(os.path.join(pwd, 'readme.rst'), encoding='utf-8').read()
+
+setup(
+ name='pelican-htmlmin',
+ packages=['pelican-htmlmin'],
+
+ version=VERSION,
+ url='https://gitlab.com/bryanbrattlof/pelican-htmlmin',
+
+ description="Minifies HTML files generated by Pelican",
+ long_description=description,
+
+ author='Bryan Brattlof',
+ author_email='hello@bryanbrattlof.com',
+
+ license='MIT',
+
+ install_requires=REQUIRES,
+
+ # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+
+ 'Intended Audience :: Developers',
+ 'Topic :: Software Development :: Libraries',
+
+ 'Framework :: Pelican',
+ 'Framework :: Pelican :: Plugins',
+
+ 'License :: OSI Approved :: MIT License',
+
+ # Specify the Python versions you support here. In particular, ensure
+ # that you indicate whether you support Python 2, Python 3 or both.
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+
+ 'Natural Language :: English',
+ ],
+)