From 3ed17cdb495c2dfb7e360eba6ad0467b8460d24c Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 25 May 2017 19:37:10 -0700 Subject: [PATCH] distutils.core.setup fixes (#1358) - add include_package_data (which setuptools accepts) - allow arbitrary other kwargs, because distutils.core.setup allows arbitrary kwargs and just passes them through to commands --- stdlib/2and3/distutils/core.pyi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/2and3/distutils/core.pyi b/stdlib/2and3/distutils/core.pyi index d513c2b00..9d41daf5f 100644 --- a/stdlib/2and3/distutils/core.pyi +++ b/stdlib/2and3/distutils/core.pyi @@ -36,12 +36,14 @@ def setup(name: str = ..., command_packages: List[str] = ..., command_options: Mapping[str, Mapping[str, Tuple[Any, Any]]] = ..., package_data: Mapping[str, List[str]] = ..., + include_package_data: bool = ..., libraries: List[str] = ..., headers: List[str] = ..., ext_package: str = ..., include_dirs: List[str] = ..., password: str = ..., - fullname: str = ...) -> None: ... + fullname: str = ..., + **attrs: Any) -> None: ... def run_setup(script_name: str, script_args: Optional[List[str]] = ...,