From 1accbe3bfab73bbb4474ae6774e91c1c7ef115ed Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Mon, 30 Nov 2020 15:17:52 +0100 Subject: [PATCH] VC/Zoom: Move most metadata to setup.cfg --- vc_zoom/setup.cfg | 27 +++++++++++++++++++++++++++ vc_zoom/setup.py | 22 ++++------------------ 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/vc_zoom/setup.cfg b/vc_zoom/setup.cfg index a5814c8..fcfe660 100644 --- a/vc_zoom/setup.cfg +++ b/vc_zoom/setup.cfg @@ -1,2 +1,29 @@ +[metadata] +name = indico-plugin-vc-zoom +description = Zoom video-conferencing plugin for Indico +long_description = file: README.md +long_description_content_type = text/markdown; charset=UTF-8; variant=CommonMark +url = https://github.com/indico/indico-plugins +license = MIT +author = Giovanni Mariano (ENEA) and Indico Team (CERN) +author_email = indico-team@cern.ch +classifiers = + Environment :: Plugins + Environment :: Web Environment + License :: OSI Approved :: MIT License + Programming Language :: Python :: 2.7 + +[options] +packages = find: +zip_safe = false +include_package_data = true +python_requires = ~=2.7 + +[options.entry_points] +indico.plugins = + vc_zoom = indico_vc_zoom.plugin:ZoomPlugin + + + [pydocstyle] ignore = D100,D101,D102,D103,D104,D105,D107,D203,D213 diff --git a/vc_zoom/setup.py b/vc_zoom/setup.py index d20cbf6..9e4e740 100644 --- a/vc_zoom/setup.py +++ b/vc_zoom/setup.py @@ -7,31 +7,17 @@ from __future__ import unicode_literals -from setuptools import find_packages, setup +from setuptools import setup +# XXX: keeping some entries in here to make bulk updates easier while +# other plugins still have this metadata in setup.py; everything else +# is in setup.cfg now setup( name='indico-plugin-vc-zoom', version='2.3b1', - description='Zoom video-conferencing plugin for Indico', - url='https://github.com/indico/indico-plugins', - license='MIT', - author='Giovanni Mariano (ENEA) and Indico Team (CERN)', - author_email='indico-team@cern.ch', - packages=find_packages(), - zip_safe=False, - platforms='any', - include_package_data=True, install_requires=[ 'indico>=2.3.2.dev0', 'PyJWT<2' ], - python_requires='~=2.7', - classifiers=[ - 'Environment :: Plugins', - 'Environment :: Web Environment', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 2.7' - ], - entry_points={'indico.plugins': {'vc_zoom = indico_vc_zoom.plugin:ZoomPlugin'}} )