From 85dd45798fbe5f5fa7c3d43f7cf095818bc05c54 Mon Sep 17 00:00:00 2001 From: Stavros Ntentos <133706+stdedos@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:41:38 +0300 Subject: [PATCH] Improve packaging + Release v1.1.3rc1 * Drop `tests/*` both from `sdist` and `wheel` * Drop `universal` wheel (we don't support Python2) Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com> --- CHANGELOG.md | 1 + MANIFEST.in | 1 + setup.cfg | 3 --- setup.py | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 MANIFEST.in diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f5531a..6a62d64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ A heartfelt thank you to https://github.com/Pierre-Sassoulas for his invaluable - Added an extensive `.pre-commit-config.yaml` file to upkeep the code quality. It includes, among others, `black`, `mypy` (in non-strict mode yet), `ruff`, and `pylint`. +- Added an automated release process ### Changed diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..cbd2698 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +prune tests/ diff --git a/setup.cfg b/setup.cfg index cf4e2a4..31ad82b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,2 @@ [aliases] test = pytest - -[bdist_wheel] -universal = 1 diff --git a/setup.py b/setup.py index 25ce836..aaeb2f8 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name="pylint-pytest", - version="1.1.3rc0", + version="1.1.3rc1", author="Stavros Ntentos", author_email="133706+stdedos@users.noreply.github.com", license="MIT", @@ -26,7 +26,7 @@ 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"]), + packages=find_packages(exclude=["tests*", "sandbox"]), install_requires=[ "pylint<3", "pytest>=4.6",