Skip to content

Commit 159e1cd

Browse files
authored
fix: only include py.typed package_data (#278)
with `include_package_data=True` setuptools include a bunch of files that shouldn't be present in the wheel.
1 parent 2e5b1ea commit 159e1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ def parse_requirements(filename):
4141

4242
package_dir={'': 'src'},
4343
packages=['cmake'],
44+
package_data={"cmake": ["py.typed"]},
4445

4546
cmake_install_dir='src/cmake/data',
46-
include_package_data=True,
4747

4848
entry_points={
4949
'console_scripts': [

0 commit comments

Comments
 (0)