mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
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:
committed by
Matthias Kramm
parent
2c21f27310
commit
2e560d38dc
@@ -1,7 +0,0 @@
|
||||
# Stubs for distutils (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
__revision__ = ... # type: Any
|
||||
|
||||
5
stdlib/2.7/distutils/emxccompiler.pyi
Normal file
5
stdlib/2.7/distutils/emxccompiler.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
# Stubs for emxccompiler
|
||||
|
||||
from distutils.unixccompiler import UnixCCompiler
|
||||
|
||||
class EMXCCompiler(UnixCCompiler): ...
|
||||
@@ -1,23 +0,0 @@
|
||||
# Stubs for distutils.version (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
class Version:
|
||||
def __init__(self, vstring=...) -> None: ...
|
||||
|
||||
class StrictVersion(Version):
|
||||
version_re = ... # type: Any
|
||||
version = ... # type: Any
|
||||
prerelease = ... # type: Any
|
||||
def parse(self, vstring): ...
|
||||
def __cmp__(self, other): ...
|
||||
|
||||
class LooseVersion(Version):
|
||||
component_re = ... # type: Any
|
||||
def __init__(self, vstring=...) -> None: ...
|
||||
vstring = ... # type: Any
|
||||
version = ... # type: Any
|
||||
def parse(self, vstring): ...
|
||||
def __cmp__(self, other): ...
|
||||
Reference in New Issue
Block a user