Skip to content

Commit

Permalink
Update docs about package name specification (#3257)
Browse files Browse the repository at this point in the history
Updated documentation for more specification about module and project names, due to ModuleOrPackagesNotFound uncertainty.

Co-authored-by: Steph Samson <[email protected]>
Co-authored-by: Paul "TBBle" Hampson <[email protected]>
  • Loading branch information
3 people authored Nov 14, 2021
1 parent fffbd4f commit b64f313
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
```

Poetry assumes your package contains a package with the same name as `tool.poetry.name`.
If this is not the case, populate `tool.poetry.packages` to specify your package or packages.

See [Packages](/docs/pyproject#packages) for more information.

### Initialising a pre-existing project

Instead of creating a new project, Poetry can be used to 'initialise' a pre-populated
Expand Down

0 comments on commit b64f313

Please sign in to comment.