File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ prune docs/source/_build
2626# assorted mypyc requirements
2727graft mypyc/external
2828graft mypyc/lib-rt
29+ graft mypyc/test
2930graft mypyc/test-data
3031graft mypyc/doc
32+ prune mypyc/doc/build
3133
3234# files necessary for testing sdist
3335include mypy-requirements.txt
@@ -37,6 +39,7 @@ include test-requirements.txt
3739include mypy_self_check.ini
3840prune misc
3941graft test-data
42+ graft mypy/test
4043include conftest.py
4144include runtests.py
4245include pytest.ini
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ mypyc = "mypyc.__main__:main"
7777
7878[tool .setuptools .packages .find ]
7979include = [" mypy*" , " mypyc*" , " *__mypyc*" ]
80+ exclude = [" mypyc.test-data*" ]
8081namespaces = false
8182
8283[tool .setuptools .package-data ]
@@ -89,6 +90,15 @@ mypy = [
8990 " xml/*.xslt" ,
9091 " xml/*.css" ,
9192]
93+ [tool .setuptools .exclude-package-data ]
94+ mypyc = [
95+ " README.md" ,
96+ " doc/**" ,
97+ " external/**" ,
98+ " lib-rt/test_capi.cc" ,
99+ " lib-rt/setup.py" ,
100+ " test-data/**" ,
101+ ]
92102
93103[tool .black ]
94104line-length = 99
You can’t perform that action at this time.
0 commit comments