Skip to content

Use src/ folder for package #150

@sepro

Description

@sepro

Someone recently pointed out in one of my packages that currently it is considered best practice to have a src/ folder and include the module's code there. Which is correct and some details can be found here. Two users also indicated issues when installing packages using alternative tools (e.g. uv, ... though I haven't been able to replicate that, take that with a healthy dose of skepticism).

This would require moving the statannotations folder to src/statannotations and making the corresponding changes to setup.py and config for unit-tests and github actions.

Happy to provide a PR, if there is interest and it wouldn't cause issues I haven't considered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions