Skip to content

Commit

Permalink
Migrate setup.py to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 14, 2023
1 parent 5ee69ce commit ccd301e
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 48 deletions.
49 changes: 49 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
[metadata]
name = pylint-pytest
version = 1.1.2
author = Reverb Chu
author_email = [email protected]
maintainer = Reverb Chu
maintainer_email = [email protected]
license = MIT
url = https://github.com/reverbc/pylint-pytest
description = A Pylint plugin to suppress pytest-related false positives.
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
License :: OSI Approved :: MIT License
keywords =
pylint
pytest
plugin

[options]
packages = find:
install_requires =
pylint<3
pytest>=4.6
python_requires = >=3.6
tests_require =
pytest
pytest-cov
pylint

[options.packages.find]
exclude =
tests
sandbox

[aliases]
test = pytest

Expand Down
50 changes: 2 additions & 48 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,49 +1,3 @@
#!/usr/bin/env python
from setuptools import setup

from os import path

from setuptools import find_packages, setup

here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md")) as fin:
long_description = fin.read()


setup(
name="pylint-pytest",
version="1.1.2",
author="Reverb Chu",
author_email="[email protected]",
maintainer="Reverb Chu",
maintainer_email="[email protected]",
license="MIT",
url="https://github.com/reverbc/pylint-pytest",
description="A Pylint plugin to suppress pytest-related false positives.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["tests", "sandbox"]),
install_requires=[
"pylint<3",
"pytest>=4.6",
],
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
tests_require=["pytest", "pytest-cov", "pylint"],
keywords=["pylint", "pytest", "plugin"],
)
setup()

0 comments on commit ccd301e

Please sign in to comment.