Skip to content

Commit

Permalink
Exclude 'build' dir when installing via setuptools.
Browse files Browse the repository at this point in the history
Eg, otherwise 'pip install .' will install 'build' dir into
site-packages.
  • Loading branch information
jcannon-gplates committed Dec 17, 2024
1 parent c238529 commit dfe81ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include gplately/logging_config.yaml
include gplately/logging_config.yaml
prune build
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [

[tool.setuptools.packages.find]
where = ["."]
exclude = ['*.examples*','*.notebooks*','tests-dir*','Notebooks*', 'scripts*']
exclude = ['*.examples*','*.notebooks*','tests-dir*','Notebooks*', 'scripts*', 'build*']
namespaces = true

#[tool.setuptools.dynamic]
Expand Down

0 comments on commit dfe81ba

Please sign in to comment.