Skip to content

Commit 3fa6577

Browse files
committed
build: update requirements
1 parent d85c683 commit 3fa6577

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ optional = true
3030

3131
[tool.poetry.group.flask.dependencies]
3232
flask = "^2.2.3"
33-
asgiref = "^3.6.0"
34-
hypercorn = "^0.14.3"
3533

3634
[build-system]
3735
requires = [

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
discord-py-interactions>=5.0.0,<6.0.0

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
with open("pyproject.toml", "rb") as f:
88
pyproject = tomli.load(f)
99

10+
extras_require = {
11+
"flask": ["flask>=2.0.0,<=3.0.0"],
12+
"fastapi": ["fastapi>=0.92.0", "uvicorn>=0.20.0"]
13+
}
1014

1115
setup(
1216
name=pyproject["tool"]["poetry"]["name"],
@@ -16,12 +20,13 @@
1620
description=pyproject["tool"]["poetry"]["description"],
1721
include_package_data=True,
1822
install_requires=(Path(__file__).parent / "requirements.txt").read_text().splitlines(),
23+
extras_require=extras_require,
1924
license=pyproject["tool"]["poetry"]["license"],
2025
long_description=(Path(__file__).parent / "README.md").read_text(),
2126
long_description_content_type="text/markdown",
2227
url="https://github.com/interactions-py/restful",
2328
packages=find_packages(),
24-
python_requires=">=3.8",
29+
python_requires=">=3.10",
2530
classifiers=[
2631
"Intended Audience :: Developers",
2732
"License :: OSI Approved :: MIT License",
@@ -34,5 +39,5 @@
3439
"Topic :: Software Development :: Libraries :: Python Modules",
3540
"Topic :: Software Development :: Libraries",
3641
"Topic :: Utilities",
37-
],
42+
]
3843
)

0 commit comments

Comments
 (0)