Skip to content

Commit

Permalink
fix: Adding setuptools to dependencies for Python 3.12 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
guptarohit committed Apr 7, 2024
1 parent bc9c5a5 commit 9018e65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ include = [
python = "^3.8"
requests = "*"
tablib = "*"
setuptools = { version = "*", python = ">=3.12" }

[tool.poetry.group.dev.dependencies]
ruff = "^0.3.5"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9018e65

Please sign in to comment.