Skip to content

Commit 9fa8ee5

Browse files
committed
Added: for requirements.txt
1 parent 6a50a05 commit 9fa8ee5

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

src/commands/export.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
#!/bin/bash
2-
poetry export --without-hashes --format=requirements.txt > requirements.txt
2+
3+
# For requirements.txt
4+
echo "Exporting requirements.txt"
5+
poetry export --without-hashes --format=requirements.txt > requirements.txt
6+
7+
# For requirements-dev.txt
8+
echo "Exporting requirements-dev.txt"
9+
poetry export --without-hashes --with dev --format=requirements.txt > requirements-dev.txt

src/requirements-dev.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
asgiref==3.7.2 ; python_version >= "3.10" and python_version < "4.0"
2+
black==24.2.0 ; python_version >= "3.10" and python_version < "4.0"
3+
click==8.1.7 ; python_version >= "3.10" and python_version < "4.0"
4+
colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0"
5+
cssbeautifier==1.15.1 ; python_version >= "3.10" and python_version < "4.0"
6+
django-cors-headers==4.3.1 ; python_version >= "3.10" and python_version < "4.0"
7+
django==4.2.11 ; python_version >= "3.10" and python_version < "4.0"
8+
djangorestframework==3.14.0 ; python_version >= "3.10" and python_version < "4.0"
9+
djlint==1.34.1 ; python_version >= "3.10" and python_version < "4.0"
10+
editorconfig==0.12.4 ; python_version >= "3.10" and python_version < "4.0"
11+
html-tag-names==0.1.2 ; python_version >= "3.10" and python_version < "4.0"
12+
html-void-elements==0.1.0 ; python_version >= "3.10" and python_version < "4.0"
13+
jsbeautifier==1.15.1 ; python_version >= "3.10" and python_version < "4.0"
14+
json5==0.9.20 ; python_version >= "3.10" and python_version < "4.0"
15+
mypy-extensions==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
16+
packaging==23.2 ; python_version >= "3.10" and python_version < "4.0"
17+
pathspec==0.12.1 ; python_version >= "3.10" and python_version < "4.0"
18+
platformdirs==4.2.0 ; python_version >= "3.10" and python_version < "4.0"
19+
python-decouple==3.8 ; python_version >= "3.10" and python_version < "4.0"
20+
pytz==2024.1 ; python_version >= "3.10" and python_version < "4.0"
21+
pyyaml==6.0.1 ; python_version >= "3.10" and python_version < "4.0"
22+
regex==2023.12.25 ; python_version >= "3.10" and python_version < "4.0"
23+
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
24+
sqlparse==0.4.4 ; python_version >= "3.10" and python_version < "4.0"
25+
tomli==2.0.1 ; python_version >= "3.10" and python_version < "3.11"
26+
tqdm==4.66.2 ; python_version >= "3.10" and python_version < "4.0"
27+
typing-extensions==4.10.0 ; python_version >= "3.10" and python_version < "3.11"
28+
tzdata==2024.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
29+
whitenoise==6.6.0 ; python_version >= "3.10" and python_version < "4.0"

src/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ asgiref==3.7.2 ; python_version >= "3.10" and python_version < "4.0"
22
django-cors-headers==4.3.1 ; python_version >= "3.10" and python_version < "4.0"
33
django==4.2.11 ; python_version >= "3.10" and python_version < "4.0"
44
djangorestframework==3.14.0 ; python_version >= "3.10" and python_version < "4.0"
5+
python-decouple==3.8 ; python_version >= "3.10" and python_version < "4.0"
56
pytz==2024.1 ; python_version >= "3.10" and python_version < "4.0"
67
sqlparse==0.4.4 ; python_version >= "3.10" and python_version < "4.0"
78
typing-extensions==4.10.0 ; python_version >= "3.10" and python_version < "3.11"

0 commit comments

Comments
 (0)