Improve distutils (#418)

* remove old distutils

* core done

* ccompiler done

* compilers done

* archive_util done

* dep_util done

* dir_util done

* file_util done

* util done

* dist done

* debug, error, extension done

* fancy_getopt done

* filelist, log, spawn done

* sysconfig done

* text_file done

* version done

* cmd done

* add command

* add emxccompiler which is py2 only

* command.build_py have spec only in py3

* make pytype happy by resolving relative import
This commit is contained in:
Valérian Rousset
2016-08-04 00:38:15 +02:00
committed by Matthias Kramm
parent 2c21f27310
commit 2e560d38dc
51 changed files with 407 additions and 40 deletions

View File

@@ -1,4 +0,0 @@
import typing
class DistutilsError(Exception): ...
class DistutilsExecError(DistutilsError): ...

View File

@@ -1,6 +0,0 @@
from typing import List
# In Python, arguments have integer default values
def spawn(cmd: List[str], search_path: bool = ..., verbose: bool = ...,
dry_run: bool = ...) -> None: ...
def find_executable(executable: str, path: str = ...) -> str: ...