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
ae3ba06c
Commit
ae3ba06c
authored
Nov 19, 2018
by
Kelton Karboviak
Committed by
Sébastien Eustace
Nov 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos (#643)
parent
be8425d1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
docs/docs/basic-usage.md
+0
-0
docs/docs/cli.md
+3
-3
docs/docs/configuration.md
+1
-1
docs/docs/faq.md
+2
-2
docs/docs/index.md
+0
-0
docs/docs/libraries.md
+1
-1
docs/docs/pyproject.md
+2
-2
docs/docs/repositories.md
+2
-2
No files found.
docs/docs/basic-usage.md
View file @
ae3ba06c
docs/docs/cli.md
View file @
ae3ba06c
...
...
@@ -190,7 +190,7 @@ poetry add my-package --path ../my-package/dist/my_package-0.1.0.whl
## remove
The
`remove`
command removes a package from the current
list of installed packages
list of installed packages
.
```
bash
poetry remove pendulum
...
...
@@ -296,7 +296,7 @@ The `run` command executes the given command inside the project's virtualenv.
poetry run python -V
```
It can also execute
s
one of the scripts defined in `
pyproject.toml
`.
It can also execute one of the scripts defined in `
pyproject.toml
`.
So, if you have a script defined like this:
...
...
@@ -326,7 +326,7 @@ poetry shell
## check
The `
check
` command validate the structure of the `
pyproject.toml
` file
The `
check
` command validate
s
the structure of the `
pyproject.toml
` file
and returns a detailed report if there are any errors.
```bash
...
...
docs/docs/configuration.md
View file @
ae3ba06c
...
...
@@ -8,7 +8,7 @@ This file can typically be found in one of the following directories:
-
Windows:
`C:\Users\<username>\AppData\Roaming\pypoetry`
For Unix, we follow the XDG spec and support
`$XDG_CONFIG_HOME`
.
That means, by default
`~/.config/pypoetry`
That means, by default
`~/.config/pypoetry`
.
## Available settings
...
...
docs/docs/faq.md
View file @
ae3ba06c
...
...
@@ -11,7 +11,7 @@ and, as such, they are not available via the PyPI JSON API. At this point, Poetr
but downloading the packages and inspect them to get the necessary information. This is an expensive
operation, both in bandwidth and time, which is why it seems this is a long process.
At the moment there is no
t
way around it.
At the moment there is no way around it.
!!!note
...
...
@@ -38,7 +38,7 @@ The `^` operator works very well with libraries following [semantic versioning](
Yes. By using the
[
isolated builds
](
https://tox.readthedocs.io/en/latest/config.html#conf-isolated_build
)
`tox`
provides,
you can use it in combination with the PEP 517 compliant build system provided by Poetry.
So, in your
`pyproject.toml`
file
add this section if does not already exists
:
So, in your
`pyproject.toml`
file
, add this section if it does not already exist
:
```
toml
[build-system]
...
...
docs/docs/index.md
View file @
ae3ba06c
docs/docs/libraries.md
View file @
ae3ba06c
...
...
@@ -68,7 +68,7 @@ Once this is done, your library will be available to anyone.
## Publishing to a private repository
Sometimes, you may want to keep your library private but also being accessible to you team.
Sometimes, you may want to keep your library private but also being accessible to you
r
team.
In this case, you will need to use a private repository.
...
...
docs/docs/pyproject.md
View file @
ae3ba06c
...
...
@@ -119,7 +119,7 @@ packages = [
**explicitly** specify the "default" package.
For instance, if you have a package named `my_package` and you want to also include
another package named `extra_package`, you will need to specify `my_package` explicit
e
ly:
another package named `extra_package`, you will need to specify `my_package` explicitly:
```toml
packages = [
...
...
@@ -132,7 +132,7 @@ packages = [
Poetry is clever enough to detect Python subpackages.
So, if you only have to specify the directory where you
root package resides.
Thus, you only have to specify the directory where your
root package resides.
## include and exclude
...
...
docs/docs/repositories.md
View file @
ae3ba06c
...
...
@@ -8,7 +8,7 @@ for package installation and publishing.
So, when you add dependencies to your project, Poetry will assume they are available
on PyPI.
This represent most cases and will likely be enough for most users.
This represent
s
most cases and will likely be enough for most users.
## Using a private repository
...
...
@@ -66,5 +66,5 @@ From now on, Poetry will also look for packages in your private repository.
If your private repository requires HTTP Basic Auth be sure to add the username and
password to your
`http-basic`
config using the example above (be sure to use the
same name tha
n
in the
`tool.poetry.source`
section). Poetry will use these values
same name tha
t is
in the
`tool.poetry.source`
section). Poetry will use these values
to authenticate to your private repository when downloading or looking for packages.
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