Commit d7982539 by Bjorn Neergaard Committed by Arun Babu Neelicattu

Update basic-usage.md with current pyproject.toml structure

This is a continuation of/supersedes #1742.

Co-authored-by: Egor <Birdi7@users.noreply.github.com>
Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
parent a6751723
......@@ -27,12 +27,11 @@ This will create the `poetry-demo` directory with the following content:
```text
poetry-demo
├── pyproject.toml
├── README.rst
├── README.md
├── poetry_demo
│ └── __init__.py
└── tests
├── __init__.py
└── test_poetry_demo.py
└── __init__.py
```
The `pyproject.toml` file is what is the most important here. This will orchestrate
......@@ -44,12 +43,16 @@ name = "poetry-demo"
version = "0.1.0"
description = ""
authors = ["Sébastien Eustace <sebastien@eustace.io>"]
readme = "README.md"
packages = [{include = "poetry_demo"}]
[tool.poetry.dependencies]
python = "*"
python = "^3.6"
[tool.poetry.group.dev.dependencies]
pytest = "^6.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
```
### Initialising a pre-existing project
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment