From 774af7dd34428353731d04712066d68d244d9f13 Mon Sep 17 00:00:00 2001 From: Nadine Dove <100526941+NadineDove@users.noreply.github.com> Date: Wed, 26 Oct 2022 12:50:59 +0300 Subject: [PATCH] Create setup.py --- plugins/swagger/setup.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 plugins/swagger/setup.py diff --git a/plugins/swagger/setup.py b/plugins/swagger/setup.py new file mode 100644 index 0000000..dfab488 --- /dev/null +++ b/plugins/swagger/setup.py @@ -0,0 +1,31 @@ +import setuptools + +# Read the contents of the README file +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + +setuptools.setup( + name="mkdocs-zerto-swagger-plugin", + version="0.0.1", + author="yuri", + python_requires='>=3.8', + author_email="yuri.kretingen@hpe.com", + description="MKDocs plugin for rendering swagger & openapi files.", + url="", + py_modules=["zerto_swagger"], + install_requires=["mkdocs"], + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + entry_points={ + 'mkdocs.plugins': [ + 'zerto_swagger = zerto_swagger:ZertoSwaggerPlugin', + ] + }, + long_description=long_description, + long_description_content_type='text/markdown' +)