scientific-python / cookie

Scientific Python Library Development Guide and Cookiecutter
https://learn.scientific-python.org/development
BSD 3-Clause "New" or "Revised" License
294 stars 53 forks source link

Packaging tutorial: Directory structure unclear #340

Closed gunnarvoet closed 10 months ago

gunnarvoet commented 11 months ago

The guide puts __init__.py and refraction.py directly into src/ https://github.com/scientific-python/cookie/blob/7250955345ad4ba4a3c3341c9895c9758b82bb41/docs/pages/tutorials/packaging.md?plain=1#L53-L58

whereas the directory structure listing has src/example/... https://github.com/scientific-python/cookie/blob/7250955345ad4ba4a3c3341c9895c9758b82bb41/docs/pages/tutorials/packaging.md?plain=1#L90-L95

henryiii commented 11 months ago

Oops, that’s a mistake. __init__.py should never be directly in src.