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" +] +