1# Stubs for distutils.core
2
3from typing import Any, List, Mapping, Optional, Tuple, Type, Union
4from distutils.cmd import Command as Command
5from distutils.dist import Distribution as Distribution
6from distutils.extension import Extension as Extension
7
8def setup(name: str = ...,
9          version: str = ...,
10          description: str = ...,
11          long_description: str = ...,
12          author: str = ...,
13          author_email: str = ...,
14          maintainer: str = ...,
15          maintainer_email: str = ...,
16          url: str = ...,
17          download_url: str = ...,
18          packages: List[str] = ...,
19          py_modules: List[str] = ...,
20          scripts: List[str] = ...,
21          ext_modules: List[Extension] = ...,
22          classifiers: List[str] = ...,
23          distclass: Type[Distribution] = ...,
24          script_name: str = ...,
25          script_args: List[str] = ...,
26          options: Mapping[str, Any] = ...,
27          license: str = ...,
28          keywords: Union[List[str], str] = ...,
29          platforms: Union[List[str], str] = ...,
30          cmdclass: Mapping[str, Type[Command]] = ...,
31          data_files: List[Tuple[str, List[str]]] = ...,
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          include_package_data: bool = ...,
40          libraries: List[str] = ...,
41          headers: List[str] = ...,
42          ext_package: str = ...,
43          include_dirs: List[str] = ...,
44          password: str = ...,
45          fullname: str = ...,
46          **attrs: Any) -> None: ...
47
48def run_setup(script_name: str,
49              script_args: Optional[List[str]] = ...,
50              stop_after: str = ...) -> Distribution: ...
51