From 0b7f04db57117e3d65d40789ad43024211c03814 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 7 Jan 2022 12:14:09 +0100 Subject: [PATCH] Adding setup.cfg --- lib/cr_vmware_tpl/handler.py | 1 - setup.cfg | 64 ++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 55b36c0..8dc2bb3 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -764,7 +764,6 @@ class CrTplHandler(BaseHandler): ssh = None result = {'out': None, 'err': None} - err = None try: diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6ca6dc4 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,64 @@ +[metadata] +name = cr_vmware_tpl +description = Modules for Creating of VMWare templates +author = Frank Brehm +author_email = frank.brehm@pixelpark.com +url = https://git.pixelpark.com/ppadmin/create-vmware-tpl +license = LGPL3+ +platforms = posix +provides = cr_vmware_tpl +classifiers = + Development Status :: 3 - Alpha + Environment :: Console + Intended Audience :: Developers + License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) + Natural Language :: English + Operating System :: POSIX + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Topic :: Software Development :: Libraries :: Python Modules + +[options] +package_dir= + =lib + +install_requires = + requests + six + Babel + fb_logging + fb_tools + fb_pdnstools + +setup_requires = + requests + six + Babel + fb_logging + fb_tools + fb_pdnstools + +packages=find: + +[options.packages.find] +where=lib + +[compile_catalog] +domain = create_vm_template +directory = locale +statistics = 1 + +[pep8] + +max-line-length = 99 + +[flake8] + +max-line-length = 99 +max-complexity = 20 +ignore = E226,E302,E41,E402 + +# vim: filetype=dosini -- 2.39.5