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 dfcbd95
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
18 changes: 17 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 dfcbd95

Please sign in to comment.