jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/786995 )
Change subject: [dist] Update dist settings ......................................................................
[dist] Update dist settings
- add project urls for Documentation, Source, Github Mirror and Tracker - rename CREDITS.rst to AUTHORS.rst to be complient with licencse_files keyword - add placeholder for setup keywords
Change-Id: Id5295639c3342dd9c901241aa89a954b12fa2b48 --- R AUTHORS.rst M CONTENT.rst M docs/credits.rst M setup.py 4 files changed, 38 insertions(+), 10 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/CREDITS.rst b/AUTHORS.rst similarity index 100% rename from CREDITS.rst rename to AUTHORS.rst diff --git a/CONTENT.rst b/CONTENT.rst index 7f66c32..edef930 100644 --- a/CONTENT.rst +++ b/CONTENT.rst @@ -4,12 +4,12 @@ +---------------------------------------------------------------------------------------+ | README and config files: | +===========================+===========================================================+ + | AUTHORS.rst | List of major contributors to this module | + +---------------------------+-----------------------------------------------------------+ | CODE_OF_CONDUCT.rst | Code of conduct reference | +---------------------------+-----------------------------------------------------------+ | CONTENT.rst | This Content description file | +---------------------------+-----------------------------------------------------------+ - | CREDITS.rst | List of major contributors to this module | - +---------------------------+-----------------------------------------------------------+ | dev-requirements.txt | PIP requirements file for development dependencies | +---------------------------+-----------------------------------------------------------+ | Dockerfile | Assemble a Docker image, install all dependencies via pip | diff --git a/docs/credits.rst b/docs/credits.rst index 927977d..9a9aeb0 100644 --- a/docs/credits.rst +++ b/docs/credits.rst @@ -1,4 +1,4 @@ Credits =======
-.. include:: ../CREDITS.rst +.. include:: ../AUTHORS.rst diff --git a/setup.py b/setup.py index 25715ac..f669576 100755 --- a/setup.py +++ b/setup.py @@ -252,19 +252,47 @@ version=version, description=metadata.__description__, long_description=read_desc('README.rst'), - keywords=metadata.__keywords__.split(), + # long_description_content_type + # author + # author_email maintainer=metadata.__maintainer__, maintainer_email=metadata.__maintainer_email__, - license=metadata.__license__, - packages=get_packages(name), - python_requires='>=3.5.3', - install_requires=dependencies, - extras_require=extra_deps, url=metadata.__url__, download_url=metadata.__download_url__, + packages=get_packages(name), + # py_modules + # scripts + # ext_package + # ext_modules + # distclass + # script_name + # script_args + # options + license=metadata.__license__, + # license_files + keywords=metadata.__keywords__.split(), + # platforms + # cmdclass + # package_dir + include_package_data=True, + # exclude_package_data + # package_data + # zip_safe + install_requires=dependencies, + extras_require=extra_deps, + python_requires='>=3.5.3', + # namespace_packages test_suite='tests.collector', tests_require=test_deps, - include_package_data=True, + # test_loader + # eager_resources + project_urls={ + 'Documentation': 'https://doc.wikimedia.org/pywikibot/stable/', + 'Source': + 'https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/', # noqa: E501 + 'Github Mirror': 'https://github.com/wikimedia/pywikibot', + 'Tracker': 'https://phabricator.wikimedia.org/tag/pywikibot/', + }, entry_points={ 'console_scripts': [ 'pwb = pywikibot.scripts.pwb:run',
pywikibot-commits@lists.wikimedia.org