Skip to content

Commit ab1850d

Browse files
carlsmedstadtwiecki
authored andcommitted
Avoid including non-Python files in package
1 parent 24eaa74 commit ab1850d

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

pyproject.toml

+1-20
Original file line numberDiff line numberDiff line change
@@ -105,31 +105,12 @@ numba = [
105105
]
106106

107107
[tool.setuptools.packages.find]
108-
exclude = [
109-
"tests",
110-
"tests.*"
111-
]
108+
include = ["pytensor*", "bin"]
112109

113110
[tool.setuptools.package-data]
114-
"*" = [
115-
"*.txt",
116-
"*.rst",
117-
"*.cu",
118-
"*.cuh",
119-
"*.c",
120-
"*.sh",
121-
"*.pkl",
122-
"*.h",
123-
"*.cpp",
124-
"ChangeLog",
125-
"c_code/*",
126-
]
127111
pytensor = [
128112
"py.typed"
129113
]
130-
"pytensor.misc" = [
131-
"*.sh"
132-
]
133114
"pytensor.d3viz" = [
134115
"html/*",
135116
"css/*",

0 commit comments

Comments
 (0)