Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude extraneous files from package #936

Open
baywet opened this issue Oct 17, 2024 · 0 comments
Open

exclude extraneous files from package #936

baywet opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working type:bug A broken experience

Comments

@baywet
Copy link
Member

baywet commented Oct 17, 2024

similar to microsoftgraph/msgraph-sdk-python-core#709 those extra files slow down the installation, and can pose security issues like this GHSA-mhhp-c3cm-2r86
directories to be excluded:

  • .github
  • docs
    files to be excluded:
  • .gitignore
  • .release-please-manifest
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • release-please-config
  • UPGRADING.md

to test simply run python -m build locally, and check what's in the archive under dist

@baywet baywet added bug Something isn't working type:bug A broken experience labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant