File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,22 @@ pythonloc <app>
137
137
138
138
### Installing from ` poetry.lock `
139
139
pip cannot read poetry.lock files, so you'll have to generate a requirements.txt file.
140
+
141
+ Poetry 1.x provides ` export ` command:
142
+ ``` bash
143
+ poetry self:update --preview # install 1.x version of Poetry
144
+ poetry export -f requirements.txt
145
+ piploc install -r requirements.txt
146
+ pythonloc < app>
140
147
```
148
+
149
+ For Poetry 0.x you can adopt the next approach:
150
+ ``` bash
141
151
poetry run pip freeze > requirements.txt
142
152
piploc install -r requirements.txt
143
153
pythonloc < app>
144
154
```
145
155
146
- There may be an ` export ` command coming to ` poetry ` but it hasn't landed yet. See https://github.com/sdispater/poetry/pull/675 .
147
156
148
157
### Installing from ` Pipfile.lock `
149
158
pip cannot read ` Pipfile ` s yet, only pipenv can. So you will need to generate requirements.txt using pipenv.
You can’t perform that action at this time.
0 commit comments