Skip to content

Commit 45eee85

Browse files
committed
Include all submodules of exir
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent b55ecc7 commit 45eee85

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,14 @@ Changelog = "https://github.com/pytorch/executorch/releases"
8484
[project.scripts]
8585
flatc = "executorch.data.bin:flatc"
8686

87-
# Tell setuptools to follow the symlink: src/executorch/exir -> exir.
88-
# Doing this allows us to import from executorch.exir directly in
89-
# editable mode.
90-
[tool.setuptools.packages.find]
91-
where = ["src/"]
92-
include = ["executorch.exir"]
93-
9487
# TODO(dbort): Could use py_modules to restrict the set of modules we
9588
# package, and package_data to restrict the set up non-python files we
9689
# include. See also setuptools/discovery.py for custom finders.
9790
[tool.setuptools.package-dir]
91+
# Tell setuptools to follow the symlink: src/executorch/exir -> exir.
92+
# Doing this allows us to import from executorch.exir directly in
93+
# editable mode.
94+
"executorch" = "src/executorch"
9895
"executorch.backends" = "backends"
9996
"executorch.codegen" = "codegen"
10097
"executorch.data.bin" = "data/bin"

0 commit comments

Comments
 (0)