Skip to content

Commit

Permalink
Fix add command and folder layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
kinuax committed Mar 30, 2024
1 parent 78ff949 commit 82b21f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/package.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Add `typer` to your dependencies:
<div class="termy">

```console
$ poetry add "typer"
$ poetry add typer

// It creates a virtual environment for your project
Creating virtualenv rick-portal-gun-w31dJa0b-py3.10 in /home/rick/.cache/pypoetry/virtualenvs
Expand Down Expand Up @@ -96,7 +96,7 @@ You can see that you have a generated project structure that looks like:
├── rick_portal_gun
│   └── __init__.py
└── tests
── __init__.py
── __init__.py
```

## Create your app
Expand Down Expand Up @@ -411,7 +411,7 @@ The file would live right beside `__init__.py`:
│ ├── __main__.py
│ └── main.py
└── tests
── __init__.py
── __init__.py
```

No other file has to import it, you don't have to reference it in your `pyproject.toml` or anything else, it just works by default, as it is standard Python behavior.
Expand Down

0 comments on commit 82b21f9

Please sign in to comment.