Skip to content

chore(CI): Change include to package in pyproject.toml. - #39

Merged
mirzak merged 1 commit into
mainfrom
hatching
Oct 28, 2025
Merged

chore(CI): Change include to package in pyproject.toml.#39
mirzak merged 1 commit into
mainfrom
hatching

Conversation

@Dexter9532

Copy link
Copy Markdown
Contributor

I did this to shorten the import path from src/em511 to em511 only.

@mirzak mirzak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Changes look good.

You need to fix your commit title:

chore(CI): Change include to package in puproject.toml.

I would instead write:

chore(pyproject): use 'packages' hatch option

This will exclude the `src` directory when creating the package. See [1].

1. https://hatch.pypa.io/1.9/config/build/#packages

Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>

@mirzak mirzak changed the title chore(CI): Change include to package in puproject.toml. chore(CI): Change include to package in pyproject.toml. Oct 28, 2025
This will exclude the `src` directory when creating the package. See [1].

1. https://hatch.pypa.io/1.9/config/build/#packages

Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
@mirzak
mirzak merged commit de35334 into main Oct 28, 2025
20 checks passed
@mirzak
mirzak deleted the hatching branch October 28, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants