Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Packaging tutorial: Directory structure unclear #340

@gunnarvoet

Description

@gunnarvoet

The guide puts __init__.py and refraction.py directly into src/

```bash
touch src/__init__.py
```
Place `refraction.py`, our code from the previous section, next to it, at
`src/refraction.py`.

whereas the directory structure listing has src/example/...

.
├── pyproject.toml
├── src
│ └── example
│ ├── __init__.py
│ └── refraction.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions