From c19fa9a76c77cc3bb20a614edb0730d701f4f8cf Mon Sep 17 00:00:00 2001 From: Joris van Rantwijk Date: Sun, 7 Jul 2024 15:16:50 +0200 Subject: [PATCH] Add pyproject.toml --- python/mwmatching/__init__.py | 8 ++++---- python/pyproject.toml | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 python/pyproject.toml diff --git a/python/mwmatching/__init__.py b/python/mwmatching/__init__.py index bce2581..b62cb1d 100644 --- a/python/mwmatching/__init__.py +++ b/python/mwmatching/__init__.py @@ -2,10 +2,10 @@ Algorithm for finding a maximum weight matching in general graphs. """ -from .algorithm import (maximum_weight_matching, - adjust_weights_for_maximum_cardinality_matching, - MatchingError) - __all__ = ["maximum_weight_matching", "adjust_weights_for_maximum_cardinality_matching", "MatchingError"] + +from .algorithm import (maximum_weight_matching, + adjust_weights_for_maximum_cardinality_matching, + MatchingError) diff --git a/python/pyproject.toml b/python/pyproject.toml new file mode 100644 index 0000000..ec23650 --- /dev/null +++ b/python/pyproject.toml @@ -0,0 +1,15 @@ + +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "mwmatching" +version = "3.0" +authors = [{name = "Joris van Rantwijk"}] +requires-python = ">= 3.7" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Private :: Do Not Upload" +] +