From 9ad699f36aa34f941483aa54aa67431de58fe558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= Date: Mon, 21 Oct 2024 00:13:50 +0200 Subject: [PATCH] Release --- HISTORY.rst | 5 +++++ Makefile | 3 +-- mutmut/__init__.py | 2 +- setup.py | 13 ------------- 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 9f57cdcc..bf73b8c4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,11 @@ Changelog --------- +3.0.4 +~~~~~ + +* Another attempt to get the pypi package to work + 3.0.3 ~~~~~ diff --git a/Makefile b/Makefile index 4b86b049..fb01b5c5 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,6 @@ docs: dist: clean python setup.py sdist - python setup.py bdist_wheel ls -l dist tag: @@ -51,4 +50,4 @@ release-check: python setup.py release_check release: - rm -rf dist/ build/ && python setup.py sdist bdist_wheel && twine upload dist/* + rm -rf dist/ build/ && python setup.py sdist && twine upload dist/* diff --git a/mutmut/__init__.py b/mutmut/__init__.py index 85f1ea06..2a32f9b6 100644 --- a/mutmut/__init__.py +++ b/mutmut/__init__.py @@ -4,7 +4,7 @@ Number, ) -__version__ = '3.0.3' +__version__ = '3.0.4' # We have a global whitelist for constants of the pattern __all__, __version__, etc diff --git a/setup.py b/setup.py index f9681fc2..4c01a255 100755 --- a/setup.py +++ b/setup.py @@ -65,17 +65,6 @@ def run(self): print("Ok to distribute files") - -test_reqs = read_reqs('test_requirements.txt') -extras_reqs = { - 'pytest': [ - item for item in test_reqs if item.startswith('pytest')], - 'coverage': [ - item for item in test_reqs if item.startswith('coverage')], - 'patch': [ - item for item in test_reqs if item.startswith('whatthepatch')], -} - running_inside_tests = any('pytest' in x[1] or 'hammett' in x[1] for x in inspect.stack()) # NB: _don't_ add namespace_packages to setup(), it'll break @@ -95,8 +84,6 @@ def run(self): zip_safe=False, keywords='mutmut mutant mutation test testing', install_requires=read_reqs('requirements.txt'), - extras_require=extras_reqs, - tests_require=test_reqs, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers',