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
This commit is contained in:
Jelle Zijlstra
2017-05-25 19:37:10 -07:00
committed by Matthias Kramm
parent c4e6ce319f
commit 3ed17cdb49

View File

@@ -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]] = ...,