Skip to content

Commit 70f7f6c

Browse files
Soluminmatthiaskramm
authored andcommitted
Add more kwargs to distutils/core.setup() (#1170)
* Add more kwargs to distutils/core.setup() These arguments are sourced from https://github.com/python-git/python/blob/master/Lib/distutils/core.py#L44 and https://github.com/python-git/python/blob/master/Lib/distutils/dist.py#L195 I do not claim that the list of kwargs is now complete. * Add missing optional args values * Remove duplicate, change "Dict" to "Mapping"
1 parent 243b67f commit 70f7f6c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

stdlib/2and3/distutils/core.pyi

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,20 @@ def setup(name: str = ...,
2929
platforms: Union[List[str], str] = ...,
3030
cmdclass: Mapping[str, Command] = ...,
3131
data_files: List[Tuple[str, List[str]]] = ...,
32-
package_dir: Mapping[str, str] = ...) -> None: ...
32+
package_dir: Mapping[str, str] = ...,
33+
obsoletes: List[str] = ...,
34+
provides: List[str] = ...,
35+
requires: List[str] = ...,
36+
command_packages: List[str] = ...,
37+
command_options: Mapping[str, Mapping[str, Tuple[Any, Any]]] = ...,
38+
package_data: Mapping[str, List[str]] = ...,
39+
libraries: List[str] = ...,
40+
headers: List[str] = ...,
41+
ext_package: str = ...,
42+
include_dirs: List[str] = ...,
43+
password: str = ...,
44+
fullname: str = ...) -> None: ...
45+
3346
def run_setup(script_name: str,
3447
script_args: Optional[List[str]] = ...,
3548
stop_after: str = ...) -> Distribution: ...

0 commit comments

Comments
 (0)