Skip to content

Commit 2c9ecdc

Browse files
Balandatmeta-codesync[bot]
authored andcommitted
Exclude test_community from built package (#3089)
Summary: We're already excluding the `test` folder, let's do the same for `test_community` Tested locally via `python -m build --sdist --wheel` Pull Request resolved: #3089 Reviewed By: saitcakmak Differential Revision: D87678386 Pulled By: Balandat fbshipit-source-id: 30c78b0ce0e7d1f93e35dcf7d90468d1aa1758ed
1 parent 8af234a commit 2c9ecdc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ recursive-exclude docs *
33
recursive-exclude scripts *
44
recursive-exclude sphinx *
55
recursive-exclude test *
6+
recursive-exclude test_community *
67
recursive-exclude tutorials *
78
recursive-exclude website *

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Homepage = "https://botorch.org"
7474
Documentation = "https://botorch.org"
7575
Repository = "https://github.com/meta-pytorch/botorch"
7676

77-
[tool.setuptools.packages]
78-
find = {exclude = ["test", "test.*"]}
77+
[tool.setuptools]
78+
packages.find.exclude = ["test", "test.*", "test_community.*"]
7979

8080
[tool.setuptools_scm]
8181
local_scheme = "node-and-date"

0 commit comments

Comments
 (0)