From 70c58c83b72140e781a96b69c5f71d63774fb97b Mon Sep 17 00:00:00 2001 From: Lewis Collard Date: Tue, 19 Mar 2024 11:22:57 +0000 Subject: [PATCH] Don't require setuptools in dependencies in pyproject.toml It's not required for production use, only for building. Instead, add the constraint part to `build_system -> requires` to save everyone having to ship setuptools in production builds. Fixes #154. --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a97cdc5..7b11b81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "setuptools-scm", "wheel"] +requires = ["setuptools>=68.2.2", "setuptools-scm", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,9 +9,6 @@ description = "Reader for the MaxMind DB format" authors = [ {name = "Gregory Oschwald", email = "goschwald@maxmind.com"}, ] -dependencies = [ - "setuptools>=68.2.2", -] requires-python = ">=3.8" readme = "README.rst" license = {text = "Apache License, Version 2.0"}