Archisman Karmakar
commited on
Commit
·
1105e8e
1
Parent(s):
8712ebe
Update deploy_to_HF_space.yml
Browse files
.github/workflows/deploy_to_HF_space.yml
CHANGED
@@ -29,38 +29,40 @@ jobs:
|
|
29 |
sudo apt-get update
|
30 |
sudo xargs -a packages.txt apt-get install -y
|
31 |
|
|
|
|
|
32 |
# - name: Rename Poetry files to ingore
|
33 |
# run: |
|
34 |
# mv pyproject.toml pyproject.toml.ignore
|
35 |
# mv poetry.lock poetry.lock.ignore
|
36 |
|
37 |
-
- name: Upgrade pip
|
38 |
-
|
39 |
|
40 |
-
- name: Install & configure Poetry
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
|
52 |
|
53 |
-
- name: Install dependencies
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
# - name: Rename Poetry files to original
|
66 |
# run: |
|
|
|
29 |
sudo apt-get update
|
30 |
sudo xargs -a packages.txt apt-get install -y
|
31 |
|
32 |
+
# USE THIS IF YOU WANT TO AVOID DOCKER
|
33 |
+
|
34 |
# - name: Rename Poetry files to ingore
|
35 |
# run: |
|
36 |
# mv pyproject.toml pyproject.toml.ignore
|
37 |
# mv poetry.lock poetry.lock.ignore
|
38 |
|
39 |
+
# - name: Upgrade pip
|
40 |
+
# run: python -m pip install --upgrade pip
|
41 |
|
42 |
+
# - name: Install & configure Poetry
|
43 |
+
# run: |
|
44 |
+
# # - name: Disable Poetry virtualenv creation
|
45 |
+
# curl -sSL https://install.python-poetry.org | python3 -
|
46 |
+
# echo "$HOME/.local/bin" >> $GITHUB_PATH
|
47 |
|
48 |
+
# # pip install --upgrade poetry --upgrade-strategy eager
|
49 |
+
# poetry config virtualenvs.create false
|
50 |
+
# poetry --version
|
51 |
+
# poetry add poetry-plugin-export
|
52 |
+
# poetry self add poetry-plugin-export
|
53 |
|
54 |
|
55 |
+
# - name: Install dependencies
|
56 |
+
# run: |
|
57 |
+
# # pip install poetry
|
58 |
+
# # pip install --upgrade poetry --upgrade-strategy eager
|
59 |
+
# poetry --version
|
60 |
+
# # poetry install --no-root
|
61 |
+
# poetry export -f requirements.txt --without-hashes --output requirements.txt
|
62 |
|
63 |
+
# pip install -r requirements.txt
|
64 |
|
65 |
+
# # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
66 |
|
67 |
# - name: Rename Poetry files to original
|
68 |
# run: |
|