|
7 | 7 | with open("pyproject.toml", "rb") as f: |
8 | 8 | pyproject = tomli.load(f) |
9 | 9 |
|
| 10 | +extras_require = { |
| 11 | + "flask": ["flask>=2.0.0,<=3.0.0"], |
| 12 | + "fastapi": ["fastapi>=0.92.0", "uvicorn>=0.20.0"] |
| 13 | +} |
10 | 14 |
|
11 | 15 | setup( |
12 | 16 | name=pyproject["tool"]["poetry"]["name"], |
|
16 | 20 | description=pyproject["tool"]["poetry"]["description"], |
17 | 21 | include_package_data=True, |
18 | 22 | install_requires=(Path(__file__).parent / "requirements.txt").read_text().splitlines(), |
| 23 | + extras_require=extras_require, |
19 | 24 | license=pyproject["tool"]["poetry"]["license"], |
20 | 25 | long_description=(Path(__file__).parent / "README.md").read_text(), |
21 | 26 | long_description_content_type="text/markdown", |
22 | 27 | url="https://github.com/interactions-py/restful", |
23 | 28 | packages=find_packages(), |
24 | | - python_requires=">=3.8", |
| 29 | + python_requires=">=3.10", |
25 | 30 | classifiers=[ |
26 | 31 | "Intended Audience :: Developers", |
27 | 32 | "License :: OSI Approved :: MIT License", |
|
34 | 39 | "Topic :: Software Development :: Libraries :: Python Modules", |
35 | 40 | "Topic :: Software Development :: Libraries", |
36 | 41 | "Topic :: Utilities", |
37 | | - ], |
| 42 | + ] |
38 | 43 | ) |
0 commit comments