diff --git a/pyproject.toml b/pyproject.toml index a83f1bf..2218232 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ include = [ python = "^3.8" requests = "*" tablib = "*" +setuptools = { version = "*", python = ">=3.12" } [tool.poetry.group.dev.dependencies] ruff = "^0.3.5" diff --git a/setup.py b/setup.py index 92403ed..a82cd41 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ def run(self): author=AUTHOR, url=URL, packages=find_packages(exclude=("tests",)), - install_requires=["requests", "tablib"], + install_requires=["requests", "tablib", "setuptools; python_version >= '3.12'"], include_package_data=True, extras_require={"pandas": ["pandas"]}, license="BSD",