mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
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:
committed by
Matthias Kramm
parent
c4e6ce319f
commit
3ed17cdb49
@@ -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]] = ...,
|
||||
|
||||
Reference in New Issue
Block a user