|
0 |
From: Sophie Brun <[email protected]>
|
|
1 |
Date: Thu, 4 Feb 2021 15:32:40 +0100
|
|
2 |
Subject: Use setuptools
|
|
3 |
|
|
4 |
Last-Update: 2021-02-04
|
|
5 |
Forwarded: not-needed
|
|
6 |
|
|
7 |
Use setuptools to work better with dh_python: generates python3
|
|
8 |
dependencies.
|
|
9 |
Add extra dependencies to dependencies
|
|
10 |
upstream setup.py is automatically generated by poetry. Do not foward
|
|
11 |
this patch
|
|
12 |
---
|
|
13 |
setup.py | 18 ++++++++++++++++--
|
|
14 |
1 file changed, 16 insertions(+), 2 deletions(-)
|
|
15 |
|
|
16 |
diff --git a/setup.py b/setup.py
|
|
17 |
index 9de0ea5..365c569 100644
|
|
18 |
--- a/setup.py
|
|
19 |
+++ b/setup.py
|
|
20 |
@@ -1,7 +1,7 @@
|
|
21 |
#!/usr/bin/env python
|
|
22 |
# setup.py generated by flit for tools that don't yet use PEP 517
|
|
23 |
|
|
24 |
-from distutils.core import setup
|
|
25 |
+from setuptools import setup
|
|
26 |
|
|
27 |
packages = \
|
|
28 |
['fastapi',
|
|
29 |
@@ -14,7 +14,21 @@ package_data = \
|
|
30 |
{'': ['*']}
|
|
31 |
|
|
32 |
install_requires = \
|
|
33 |
-['starlette ==0.13.6', 'pydantic >=1.0.0,<2.0.0']
|
|
34 |
+ ['starlette ==0.13.6',
|
|
35 |
+ 'pydantic >=1.0.0,<2.0.0',
|
|
36 |
+ 'requests >=2.24.0,<3.0.0',
|
|
37 |
+ 'aiofiles >=0.5.0,<0.6.0',
|
|
38 |
+ 'jinja2 >=2.11.2,<3.0.0',
|
|
39 |
+ 'python-multipart >=0.0.5,<0.0.6',
|
|
40 |
+ 'itsdangerous >=1.1.0,<2.0.0',
|
|
41 |
+ 'pyyaml >=5.3.1,<6.0.0',
|
|
42 |
+ 'graphene >=2.1.8,<3.0.0',
|
|
43 |
+ 'ujson >=3.0.0,<4.0.0',
|
|
44 |
+ 'orjson >=3.2.1,<4.0.0',
|
|
45 |
+ 'email_validator >=1.1.1,<2.0.0',
|
|
46 |
+ 'uvicorn[standard] >=0.12.0,<0.14.0',
|
|
47 |
+ 'async_exit_stack >=1.0.1,<2.0.0',
|
|
48 |
+ 'async_generator >=1.10,<2.0.0']
|
|
49 |
|
|
50 |
extras_require = \
|
|
51 |
{'all': ['requests >=2.24.0,<3.0.0',
|