Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ prune docs/source/_build
# assorted mypyc requirements
graft mypyc/external
graft mypyc/lib-rt
graft mypyc/test
graft mypyc/test-data
graft mypyc/doc
prune mypyc/doc/build

# files necessary for testing sdist
include mypy-requirements.txt
Expand All @@ -37,6 +39,7 @@ include test-requirements.txt
include mypy_self_check.ini
prune misc
graft test-data
graft mypy/test
include conftest.py
include runtests.py
include pytest.ini
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ mypyc = "mypyc.__main__:main"

[tool.setuptools.packages.find]
include = ["mypy*", "mypyc*", "*__mypyc*"]
exclude = ["mypyc.test-data*"]
namespaces = false

[tool.setuptools.package-data]
Expand All @@ -89,6 +90,15 @@ mypy = [
"xml/*.xslt",
"xml/*.css",
]
[tool.setuptools.exclude-package-data]
mypyc = [
"README.md",
"doc/**",
"external/**",
"lib-rt/test_capi.cc",
"lib-rt/setup.py",
"test-data/**",
]

[tool.black]
line-length = 99
Expand Down
Loading