Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
4715f1de
Unverified
Commit
4715f1de
authored
Mar 20, 2020
by
finswimmer
Committed by
GitHub
Mar 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1862 from python-poetry/docs/no-root
Document --no-root
parents
9ab25813
94152a1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
docs/docs/basic-usage.md
+9
-0
poetry/console/commands/install.py
+6
-0
No files found.
docs/docs/basic-usage.md
View file @
4715f1de
...
@@ -134,6 +134,15 @@ the dependencies installed are still working even if your dependencies released
...
@@ -134,6 +134,15 @@ the dependencies installed are still working even if your dependencies released
For libraries it is not necessary to commit the lock file.
For libraries it is not necessary to commit the lock file.
### Installing dependencies only
The current project is installed in
[
editable
](
https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
)
mode by default.
If you want to install the dependencies only, run the
`install`
command with the
`--no-root`
flag:
```
bash
poetry install
--no-root
```
## Updating dependencies to their latest versions
## Updating dependencies to their latest versions
...
...
poetry/console/commands/install.py
View file @
4715f1de
...
@@ -34,6 +34,12 @@ libraries and dependencies outlined in that file. If the file does not
...
@@ -34,6 +34,12 @@ libraries and dependencies outlined in that file. If the file does not
exist it will look for <comment>pyproject.toml</> and do the same.
exist it will look for <comment>pyproject.toml</> and do the same.
<info>poetry install</info>
<info>poetry install</info>
By default, the above command will also install the current project. To install only the
dependencies and not including the current project, run the command with the
<info>--no-root</info> option like below:
<info> poetry install --no-root</info>
"""
"""
_loggers
=
[
"poetry.repositories.pypi_repository"
]
_loggers
=
[
"poetry.repositories.pypi_repository"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment