Skip to content

Commit c7fc522

Browse files
[pyproject.toml] Move project informations from setup.py
1 parent e0526a8 commit c7fc522

File tree

2 files changed

+43
-48
lines changed

2 files changed

+43
-48
lines changed

pyproject.toml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,46 @@
1-
# Only a configuration storage, for now
1+
[project]
2+
name = "pylint-pytest"
3+
version = "1.1.3"
4+
authors = [
5+
{name = "Reverb Chu"},
6+
]
7+
maintainers = [
8+
{name = "Stavros Ntentos", email = "[email protected]"},
9+
{name = "Pierre Sassoulas", email = "[email protected]"},
10+
]
11+
description = "A Pylint plugin to suppress pytest-related false positives."
12+
readme = "README.md"
13+
license = "MIT"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Intended Audience :: Developers",
17+
"Topic :: Software Development :: Testing",
18+
"Topic :: Software Development :: Quality Assurance",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: Implementation :: CPython",
27+
"Operating System :: OS Independent",
28+
]
29+
keywords = ["pylint", "pytest", "plugin"]
30+
requires-python = ">=3.8"
31+
32+
dependencies = [
33+
"pylint<3",
34+
"pytest>=4.6"
35+
]
36+
37+
[project.urls]
38+
"Changelog"="https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md"
39+
"Documentation"="https://github.com/pylint-dev/pylint-pytest#readme"
40+
"Say Thanks!"="https://saythanks.io/to/stdedos"
41+
"Source"="https://github.com/pylint-dev/pylint-pytest"
42+
"Tracker"="https://github.com/pylint-dev/pylint-pytest/issues"
43+
244
[tool.aliases]
345
test = "pytest"
446

setup.py

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,6 @@
1-
#!/usr/bin/env python
2-
3-
from os import path
4-
51
from setuptools import find_packages, setup
62

7-
here = path.abspath(path.dirname(__file__))
8-
with open(path.join(here, "README.md")) as fin:
9-
long_description = fin.read()
10-
11-
123
setup(
13-
name="pylint-pytest",
14-
version="1.1.3",
15-
author="Stavros Ntentos",
16-
author_email="[email protected]",
17-
license="MIT",
18-
url="https://github.com/pylint-dev/pylint-pytest",
19-
project_urls={
20-
"Changelog": "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md",
21-
"Documentation": "https://github.com/pylint-dev/pylint-pytest#readme",
22-
"Say Thanks!": "https://saythanks.io/to/stdedos",
23-
"Source": "https://github.com/pylint-dev/pylint-pytest",
24-
"Tracker": "https://github.com/pylint-dev/pylint-pytest/issues",
25-
},
26-
description="A Pylint plugin to suppress pytest-related false positives.",
27-
long_description=long_description,
28-
long_description_content_type="text/markdown",
294
packages=find_packages(exclude=["tests*", "sandbox"]),
30-
install_requires=[
31-
"pylint<4",
32-
"pytest>=4.6",
33-
],
34-
python_requires=">=3.8",
35-
classifiers=[
36-
"Development Status :: 5 - Production/Stable",
37-
"Intended Audience :: Developers",
38-
"Topic :: Software Development :: Testing",
39-
"Topic :: Software Development :: Quality Assurance",
40-
"Programming Language :: Python",
41-
"Programming Language :: Python :: 3",
42-
"Programming Language :: Python :: 3.8",
43-
"Programming Language :: Python :: 3.9",
44-
"Programming Language :: Python :: 3.10",
45-
"Programming Language :: Python :: 3.11",
46-
"Programming Language :: Python :: 3.12",
47-
"Programming Language :: Python :: Implementation :: CPython",
48-
"Operating System :: OS Independent",
49-
"License :: OSI Approved :: MIT License",
50-
],
515
tests_require=["pytest", "pytest-cov", "pylint"],
52-
keywords=["pylint", "pytest", "plugin"],
536
)

0 commit comments

Comments
 (0)