Skip to content

Conversation

@musicinmybrain
Copy link
Contributor

Do not install examples or tools as top-level modules in site-packages.

pyproject.toml Outdated
[tool.setuptools.packages]
find = {}
[tool.setuptools.packages.find]
exclude = ["examples*", "tools*"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are other top level directories that would need to be excluded. I would reverse this and use an include pattern instead.

@dnicolodi dnicolodi force-pushed the no-install-examples-tools branch from 57872b4 to c65120f Compare June 12, 2025 23:03
@dnicolodi dnicolodi force-pushed the no-install-examples-tools branch from c65120f to d412dc5 Compare June 12, 2025 23:05
@dnicolodi
Copy link
Collaborator

This was a big oversight when setting up the packaging. Thanks!

@dnicolodi dnicolodi merged commit 80ca7eb into beancount:master Jun 12, 2025
19 checks passed
@musicinmybrain
Copy link
Contributor Author

This was a big oversight when setting up the packaging. Thanks!

You’re welcome. Trust me: this happens a lot!

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.

3 participants