diff --git a/pyproject.toml b/pyproject.toml index 1bde092..f9da162 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,15 +2,12 @@ requires = ["setuptools>=66.1"] build-backend = "setuptools.build_meta" -[tool.setuptools] -license-files = ["LICENSE"] - -[tool.setuptools.packages.find] -exclude=["tests*", "sandbox"] - [project] name = "pylint-pytest" -version = "1.1.3" +version = "2.0.0rc0" +license = {file = "LICENSE"} +description = "A Pylint plugin to suppress pytest-related false positives." + authors = [ {name = "Reverb Chu"}, ] @@ -18,8 +15,8 @@ maintainers = [ {name = "Stavros Ntentos", email = "133706+stdedos@users.noreply.github.com"}, {name = "Pierre Sassoulas", email = "pierre.sassoulas@gmail.com"}, ] -description = "A Pylint plugin to suppress pytest-related false positives." -readme = "README.md" + +readme = "README.md" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -34,27 +31,48 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Operating System :: OS Independent", + "License :: OSI Approved :: MIT License", +] +keywords = [ + "pylint", + "pytest", + "plugin", ] -keywords = ["pylint", "pytest", "plugin"] -requires-python = ">=3.8" +requires-python = ">=3.8" dependencies = [ - "pylint<3", - "pytest>=4.6" + "pylint>=2", + "pytest>=4.6", ] [project.optional-dependencies] test = [ "pytest", "pytest-cov", + # For linting purposes, only pylint>3 is supported + "pylint>=3", ] [project.urls] -"Changelog"="https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md" -"Documentation"="https://github.com/pylint-dev/pylint-pytest#readme" -"Say Thanks!"="https://saythanks.io/to/stdedos" -"Source"="https://github.com/pylint-dev/pylint-pytest" -"Tracker"="https://github.com/pylint-dev/pylint-pytest/issues" +Changelog = "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md" +Documentation = "https://github.com/pylint-dev/pylint-pytest#readme" +Homepage = "https://github.com/pylint-dev/pylint-pytest" +Source = "https://github.com/pylint-dev/pylint-pytest" +Tracker = "https://github.com/pylint-dev/pylint-pytest/issues" +"Say Thanks!" = "https://saythanks.io/to/stdedos" + +[tool.setuptools] +license-files = ["LICENSE"] +tests_require = [ + "pytest", + "pytest-cov", +] + +[tool.setuptools.packages.find] +exclude = [ + "tests*", + "sandbox", +] [tool.aliases] test = "pytest" diff --git a/setup.py b/setup.py index 6068493..9c50e41 100755 --- a/setup.py +++ b/setup.py @@ -1,3 +1,10 @@ +#!/usr/bin/env python3 + +""" +Only a compatibility placeholder +https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html +""" + from setuptools import setup setup()