chore: rewrite extract-requirements to python

Using python ast to guess requirements in the setup.py file.
This commit is contained in:
jo 2022-07-17 18:51:58 +02:00 committed by Kyle Robbertze
parent 28857fbf49
commit 80218f33eb
9 changed files with 70 additions and 57 deletions

View file

@ -1,8 +1,8 @@
# This file is auto-generated by tools/extract-requirements.sh.
# Please do not edit this file, edit the setup.py file!
django<4.0,>=3.2.12
django-filter<22.0,>=2.4.0
djangorestframework<3.14,>=3.12.1
drf-spectacular<0.23,>=0.22.1
psycopg2<2.10,>=2.8.6
requests<2.29,>=2.25.1
# This file is auto-generated by tools/extract_requirements.py.
django-filter>=2.4.0,<22.0
django>=3.2.12,<4.0
djangorestframework>=3.12.1,<3.14
drf-spectacular>=0.22.1,<0.23
psycopg2>=2.8.6,<2.10
requests>=2.25.1,<2.29