diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf9e5f3..89a62d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip tox tox-gh-actions + python -m pip install --upgrade build pip tox tox-gh-actions wheel - name: Test with tox run: tox - name: Upload coverage.xml diff --git a/ChangeLog b/ChangeLog index cef3e30..f2da3bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +parmap (unreleased) + + [Maintenance] + + * Schedule CI every 3 months, to verify everything is in order even when there is no activity in the project + * Test python versions 3.8-3.11 + * Remove conda-recipe from this repo, since it's been on conda-forge for a while now + * Replace setuptools with hatchling + + -- Sergio Oller Fri, 08 Sep 2023 06:46:02 +0200 + parmap (1.6.0) * Drop support for unsupported python versions (3.6) * Let pm_pbar be a dictionary (besides a bool) with additional tqdm diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 2acc0e9..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include *.txt *.rst ChangeLog docs/*.rst docs/conf.py docs/Makefile docs/make.bat diff --git a/pyproject.toml b/pyproject.toml index 97b7244..dd09c7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,48 @@ +[project] +name = "parmap" +version = "1.6.0" +authors = [ + { name="Sergio Oller", email="sergioller@gmail.com" }, +] +description = "map and starmap implementations passing additional arguments and parallelizing if possible" +license = "Apache-2.0" +readme = "README.rst" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] + +[project.urls] +"Homepage" = "https://github.com/zeehio/parmap" +"Bug Tracker" = "https://github.com/zeehio/parmap/issues" + +[project.optional-dependencies] +progress_bar = ["tqdm>=4.8.4"] + [build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build] +ignore-vcs = true +include = [ + "parmap", + "*.txt", + "README.rst", + "ChangeLog", + "docs/*.rst", + "docs/conf.py", + "docs/Makefile", + "docs/make.bat", +] [tool.tox] legacy_tox_ini = """ diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index f023b42..0000000 --- a/setup.cfg +++ /dev/null @@ -1,31 +0,0 @@ -[metadata] -name = parmap -version = 1.6.0 -description = map and starmap implementations passing additional arguments and parallelizing if possible -long_description = file: README.rst -long_description_content_type = text/x-rst -author = Sergio Oller -author_email = sergioller@gmail.com -license = APACHE-2.0 -url = https://github.com/zeehio/parmap -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - -[options] -packages = parmap - -[options.extras_require] -progress_bar = tqdm>=4.8.4 - -[bdist_wheel] -universal=1 - diff --git a/setup.py b/setup.py deleted file mode 100644 index bac24a4..0000000 --- a/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python - -import setuptools - -if __name__ == "__main__": - setuptools.setup()