mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
Use setup.cfg for readme and licensing
This commit is contained in:
parent
d51110e6cd
commit
fe02d09da5
|
@ -1,12 +1,20 @@
|
|||
[metadata]
|
||||
name = pylint
|
||||
license = GPL-2.0-or-later
|
||||
license_file = COPYING
|
||||
description = python code static checker
|
||||
keywords = static code analysis linter python lint
|
||||
long_description = file: README.rst
|
||||
long_description_content_type = text/x-rst; charset=UTF-8
|
||||
author = Python Code Quality Authority
|
||||
author_email = code-quality@python.org
|
||||
url = https://github.com/PyCQA/pylint
|
||||
project_urls =
|
||||
What's New=https://pylint.pycqa.org/en/latest/whatsnew/
|
||||
Bug tracker=https://github.com/PyCQA/pylint/issues
|
||||
User manual=http://pylint.pycqa.org/en/latest/
|
||||
Contributing=http://pylint.pycqa.org/en/latest/development_guide/contribute.html
|
||||
Technical references=http://pylint.pycqa.org/en/latest/technical_reference/index.html
|
||||
classifiers =
|
||||
Development Status :: 6 - Mature
|
||||
Environment :: Console
|
||||
|
|
5
setup.py
5
setup.py
|
@ -12,13 +12,9 @@ __pkginfo__: Dict[str, Any] = {}
|
|||
with open(HERE / "pylint/__pkginfo__.py", encoding="UTF-8") as f:
|
||||
exec(f.read(), __pkginfo__) # pylint: disable=exec-used
|
||||
|
||||
with open(HERE / "README.rst", encoding="UTF-8") as f:
|
||||
long_description = f.read()
|
||||
|
||||
with open(HERE / "requirements_docs.txt", encoding="UTF-8") as f:
|
||||
doc_extra_requires = f.readlines()
|
||||
|
||||
|
||||
with open(HERE / "requirements_test_min.txt", encoding="UTF-8") as f:
|
||||
test_requires = f.readlines()
|
||||
|
||||
|
@ -34,7 +30,6 @@ for requirement_file in DEV_REQUIREMENTS_FILES:
|
|||
if __name__ == "__main__":
|
||||
setup(
|
||||
version=__pkginfo__["__version__"],
|
||||
long_description=long_description,
|
||||
tests_require=test_requires,
|
||||
extras_require={
|
||||
':sys_platform=="win32"': ["colorama"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user