From 2eabae7cd44f5103501a4dcc3df5ad390f42de41 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 24 Jun 2024 14:54:01 -0400 Subject: [PATCH] Add setuptools as a dependency --- pyperf/_hooks.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyperf/_hooks.py b/pyperf/_hooks.py index b2fb0b9f..07e95f55 100644 --- a/pyperf/_hooks.py +++ b/pyperf/_hooks.py @@ -52,4 +52,4 @@ def __enter__(self): sys._stats_on() def __exit__(self, _exc_type, _exc_value, _traceback): - sys._stats_off() \ No newline at end of file + sys._stats_off() diff --git a/pyproject.toml b/pyproject.toml index 6d9a776b..fc8a2223 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules" ] requires-python = ">=3.7" -dependencies = ["psutil>=5.9.0"] +dependencies = ["psutil>=5.9.0", "setuptools"] [project.optional-dependencies] dev = [