com.googler.python 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -0
- package/python3 +6 -0
- package/python3.4.2/bin/2to3 +5 -0
- package/python3.4.2/bin/2to3-3.4 +5 -0
- package/python3.4.2/bin/android-debian-builder +10 -0
- package/python3.4.2/bin/easy_install-3.4 +11 -0
- package/python3.4.2/bin/idle3 +5 -0
- package/python3.4.2/bin/idle3.4 +5 -0
- package/python3.4.2/bin/pip3 +11 -0
- package/python3.4.2/bin/pip3.4 +11 -0
- package/python3.4.2/bin/pydoc3 +5 -0
- package/python3.4.2/bin/pydoc3.4 +5 -0
- package/python3.4.2/bin/python3-config +111 -0
- package/python3.4.2/bin/python3.4 +0 -0
- package/python3.4.2/bin/python3.4-config +111 -0
- package/python3.4.2/bin/python3.4m-config +111 -0
- package/python3.4.2/bin/pyvenv +11 -0
- package/python3.4.2/bin/pyvenv-3.4 +11 -0
- package/python3.4.2/include/python3.4m/Python-ast.h +569 -0
- package/python3.4.2/include/python3.4m/Python.h +133 -0
- package/python3.4.2/include/python3.4m/abstract.h +1267 -0
- package/python3.4.2/include/python3.4m/accu.h +37 -0
- package/python3.4.2/include/python3.4m/asdl.h +45 -0
- package/python3.4.2/include/python3.4m/ast.h +22 -0
- package/python3.4.2/include/python3.4m/bitset.h +32 -0
- package/python3.4.2/include/python3.4m/bltinmodule.h +14 -0
- package/python3.4.2/include/python3.4m/boolobject.h +34 -0
- package/python3.4.2/include/python3.4m/bytearrayobject.h +62 -0
- package/python3.4.2/include/python3.4m/bytes_methods.h +46 -0
- package/python3.4.2/include/python3.4m/bytesobject.h +128 -0
- package/python3.4.2/include/python3.4m/cellobject.h +29 -0
- package/python3.4.2/include/python3.4m/ceval.h +205 -0
- package/python3.4.2/include/python3.4m/classobject.h +58 -0
- package/python3.4.2/include/python3.4m/code.h +115 -0
- package/python3.4.2/include/python3.4m/codecs.h +233 -0
- package/python3.4.2/include/python3.4m/compile.h +72 -0
- package/python3.4.2/include/python3.4m/complexobject.h +77 -0
- package/python3.4.2/include/python3.4m/datetime.h +243 -0
- package/python3.4.2/include/python3.4m/descrobject.h +105 -0
- package/python3.4.2/include/python3.4m/dictobject.h +126 -0
- package/python3.4.2/include/python3.4m/dtoa.h +19 -0
- package/python3.4.2/include/python3.4m/dynamic_annotations.h +499 -0
- package/python3.4.2/include/python3.4m/enumobject.h +17 -0
- package/python3.4.2/include/python3.4m/errcode.h +38 -0
- package/python3.4.2/include/python3.4m/eval.h +27 -0
- package/python3.4.2/include/python3.4m/fileobject.h +58 -0
- package/python3.4.2/include/python3.4m/fileutils.h +79 -0
- package/python3.4.2/include/python3.4m/floatobject.h +128 -0
- package/python3.4.2/include/python3.4m/frameobject.h +95 -0
- package/python3.4.2/include/python3.4m/funcobject.h +89 -0
- package/python3.4.2/include/python3.4m/genobject.h +46 -0
- package/python3.4.2/include/python3.4m/graminit.h +84 -0
- package/python3.4.2/include/python3.4m/grammar.h +93 -0
- package/python3.4.2/include/python3.4m/import.h +130 -0
- package/python3.4.2/include/python3.4m/intrcheck.h +21 -0
- package/python3.4.2/include/python3.4m/iterobject.h +25 -0
- package/python3.4.2/include/python3.4m/listobject.h +80 -0
- package/python3.4.2/include/python3.4m/longintrepr.h +103 -0
- package/python3.4.2/include/python3.4m/longobject.h +204 -0
- package/python3.4.2/include/python3.4m/marshal.h +28 -0
- package/python3.4.2/include/python3.4m/memoryobject.h +74 -0
- package/python3.4.2/include/python3.4m/metagrammar.h +18 -0
- package/python3.4.2/include/python3.4m/methodobject.h +93 -0
- package/python3.4.2/include/python3.4m/modsupport.h +132 -0
- package/python3.4.2/include/python3.4m/moduleobject.h +63 -0
- package/python3.4.2/include/python3.4m/namespaceobject.h +17 -0
- package/python3.4.2/include/python3.4m/node.h +44 -0
- package/python3.4.2/include/python3.4m/object.h +1015 -0
- package/python3.4.2/include/python3.4m/objimpl.h +361 -0
- package/python3.4.2/include/python3.4m/opcode.h +159 -0
- package/python3.4.2/include/python3.4m/osdefs.h +50 -0
- package/python3.4.2/include/python3.4m/parsetok.h +108 -0
- package/python3.4.2/include/python3.4m/patchlevel.h +35 -0
- package/python3.4.2/include/python3.4m/pgen.h +18 -0
- package/python3.4.2/include/python3.4m/pgenheaders.h +42 -0
- package/python3.4.2/include/python3.4m/py_curses.h +177 -0
- package/python3.4.2/include/python3.4m/pyarena.h +64 -0
- package/python3.4.2/include/python3.4m/pyatomic.h +184 -0
- package/python3.4.2/include/python3.4m/pycapsule.h +59 -0
- package/python3.4.2/include/python3.4m/pyconfig.h +1503 -0
- package/python3.4.2/include/python3.4m/pyctype.h +33 -0
- package/python3.4.2/include/python3.4m/pydebug.h +34 -0
- package/python3.4.2/include/python3.4m/pyerrors.h +464 -0
- package/python3.4.2/include/python3.4m/pyexpat.h +53 -0
- package/python3.4.2/include/python3.4m/pyfpe.h +176 -0
- package/python3.4.2/include/python3.4m/pygetopt.h +21 -0
- package/python3.4.2/include/python3.4m/pyhash.h +149 -0
- package/python3.4.2/include/python3.4m/pymacconfig.h +102 -0
- package/python3.4.2/include/python3.4m/pymacro.h +78 -0
- package/python3.4.2/include/python3.4m/pymath.h +190 -0
- package/python3.4.2/include/python3.4m/pymem.h +183 -0
- package/python3.4.2/include/python3.4m/pyport.h +883 -0
- package/python3.4.2/include/python3.4m/pystate.h +271 -0
- package/python3.4.2/include/python3.4m/pystrcmp.h +23 -0
- package/python3.4.2/include/python3.4m/pystrtod.h +41 -0
- package/python3.4.2/include/python3.4m/pythonrun.h +304 -0
- package/python3.4.2/include/python3.4m/pythread.h +93 -0
- package/python3.4.2/include/python3.4m/pytime.h +105 -0
- package/python3.4.2/include/python3.4m/rangeobject.h +27 -0
- package/python3.4.2/include/python3.4m/setobject.h +113 -0
- package/python3.4.2/include/python3.4m/sliceobject.h +50 -0
- package/python3.4.2/include/python3.4m/structmember.h +76 -0
- package/python3.4.2/include/python3.4m/structseq.h +49 -0
- package/python3.4.2/include/python3.4m/symtable.h +122 -0
- package/python3.4.2/include/python3.4m/sysmodule.h +43 -0
- package/python3.4.2/include/python3.4m/token.h +87 -0
- package/python3.4.2/include/python3.4m/traceback.h +72 -0
- package/python3.4.2/include/python3.4m/tupleobject.h +73 -0
- package/python3.4.2/include/python3.4m/typeslots.h +76 -0
- package/python3.4.2/include/python3.4m/ucnhash.h +36 -0
- package/python3.4.2/include/python3.4m/unicodeobject.h +2271 -0
- package/python3.4.2/include/python3.4m/warnings.h +54 -0
- package/python3.4.2/include/python3.4m/weakrefobject.h +86 -0
- package/python3.4.2/lib/pkgconfig/python-3.4.pc +13 -0
- package/python3.4.2/lib/pkgconfig/python-3.4m.pc +13 -0
- package/python3.4.2/lib/pkgconfig/python3.pc +13 -0
- package/python3.4.2/lib/python3.4/LICENSE.txt +254 -0
- package/python3.4.2/lib/python3.4/__future__.py +134 -0
- package/python3.4.2/lib/python3.4/__phello__.foo.py +1 -0
- package/python3.4.2/lib/python3.4/__pycache__/_bootlocale.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_collections_abc.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_sitebuiltins.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_sysconfigdata.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_weakrefset.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/abc.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/codecs.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/genericpath.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/io.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/os.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/posixpath.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/rlcompleter.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/site.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/stat.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/sysconfig.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/_bootlocale.py +34 -0
- package/python3.4.2/lib/python3.4/_collections_abc.py +753 -0
- package/python3.4.2/lib/python3.4/_compat_pickle.py +137 -0
- package/python3.4.2/lib/python3.4/_dummy_thread.py +155 -0
- package/python3.4.2/lib/python3.4/_markupbase.py +395 -0
- package/python3.4.2/lib/python3.4/_osx_support.py +502 -0
- package/python3.4.2/lib/python3.4/_pyio.py +2105 -0
- package/python3.4.2/lib/python3.4/_sitebuiltins.py +103 -0
- package/python3.4.2/lib/python3.4/_strptime.py +511 -0
- package/python3.4.2/lib/python3.4/_sysconfigdata.py +710 -0
- package/python3.4.2/lib/python3.4/_threading_local.py +246 -0
- package/python3.4.2/lib/python3.4/_weakrefset.py +196 -0
- package/python3.4.2/lib/python3.4/abc.py +248 -0
- package/python3.4.2/lib/python3.4/aifc.py +918 -0
- package/python3.4.2/lib/python3.4/antigravity.py +17 -0
- package/python3.4.2/lib/python3.4/argparse.py +2379 -0
- package/python3.4.2/lib/python3.4/ast.py +315 -0
- package/python3.4.2/lib/python3.4/asynchat.py +333 -0
- package/python3.4.2/lib/python3.4/asyncio/__init__.py +48 -0
- package/python3.4.2/lib/python3.4/asyncio/base_events.py +1055 -0
- package/python3.4.2/lib/python3.4/asyncio/base_subprocess.py +197 -0
- package/python3.4.2/lib/python3.4/asyncio/constants.py +7 -0
- package/python3.4.2/lib/python3.4/asyncio/coroutines.py +195 -0
- package/python3.4.2/lib/python3.4/asyncio/events.py +586 -0
- package/python3.4.2/lib/python3.4/asyncio/futures.py +411 -0
- package/python3.4.2/lib/python3.4/asyncio/locks.py +469 -0
- package/python3.4.2/lib/python3.4/asyncio/log.py +7 -0
- package/python3.4.2/lib/python3.4/asyncio/proactor_events.py +499 -0
- package/python3.4.2/lib/python3.4/asyncio/protocols.py +129 -0
- package/python3.4.2/lib/python3.4/asyncio/queues.py +288 -0
- package/python3.4.2/lib/python3.4/asyncio/selector_events.py +996 -0
- package/python3.4.2/lib/python3.4/asyncio/streams.py +485 -0
- package/python3.4.2/lib/python3.4/asyncio/subprocess.py +228 -0
- package/python3.4.2/lib/python3.4/asyncio/tasks.py +658 -0
- package/python3.4.2/lib/python3.4/asyncio/test_utils.py +425 -0
- package/python3.4.2/lib/python3.4/asyncio/transports.py +298 -0
- package/python3.4.2/lib/python3.4/asyncio/unix_events.py +922 -0
- package/python3.4.2/lib/python3.4/asyncio/windows_events.py +634 -0
- package/python3.4.2/lib/python3.4/asyncio/windows_utils.py +207 -0
- package/python3.4.2/lib/python3.4/asyncore.py +666 -0
- package/python3.4.2/lib/python3.4/base64.py +602 -0
- package/python3.4.2/lib/python3.4/bdb.py +673 -0
- package/python3.4.2/lib/python3.4/binhex.py +471 -0
- package/python3.4.2/lib/python3.4/bisect.py +92 -0
- package/python3.4.2/lib/python3.4/bz2.py +521 -0
- package/python3.4.2/lib/python3.4/cProfile.py +160 -0
- package/python3.4.2/lib/python3.4/calendar.py +703 -0
- package/python3.4.2/lib/python3.4/cgi.py +1061 -0
- package/python3.4.2/lib/python3.4/cgitb.py +320 -0
- package/python3.4.2/lib/python3.4/chunk.py +167 -0
- package/python3.4.2/lib/python3.4/cmd.py +401 -0
- package/python3.4.2/lib/python3.4/code.py +302 -0
- package/python3.4.2/lib/python3.4/codecs.py +1110 -0
- package/python3.4.2/lib/python3.4/codeop.py +168 -0
- package/python3.4.2/lib/python3.4/collections/__init__.py +1132 -0
- package/python3.4.2/lib/python3.4/collections/__main__.py +38 -0
- package/python3.4.2/lib/python3.4/collections/abc.py +2 -0
- package/python3.4.2/lib/python3.4/colorsys.py +164 -0
- package/python3.4.2/lib/python3.4/compileall.py +241 -0
- package/python3.4.2/lib/python3.4/concurrent/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/__init__.py +18 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/_base.py +575 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/process.py +427 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/thread.py +132 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Makefile +1835 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup +466 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup.config +13 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup.local +1 -0
- package/python3.4.2/lib/python3.4/config-3.4m/config.c +234 -0
- package/python3.4.2/lib/python3.4/config-3.4m/config.c.in +67 -0
- package/python3.4.2/lib/python3.4/config-3.4m/install-sh +294 -0
- package/python3.4.2/lib/python3.4/config-3.4m/makesetup +293 -0
- package/python3.4.2/lib/python3.4/config-3.4m/python-config.py +68 -0
- package/python3.4.2/lib/python3.4/configparser.py +1254 -0
- package/python3.4.2/lib/python3.4/contextlib.py +340 -0
- package/python3.4.2/lib/python3.4/copy.py +333 -0
- package/python3.4.2/lib/python3.4/copyreg.py +202 -0
- package/python3.4.2/lib/python3.4/crypt.py +62 -0
- package/python3.4.2/lib/python3.4/csv.py +449 -0
- package/python3.4.2/lib/python3.4/ctypes/__init__.py +541 -0
- package/python3.4.2/lib/python3.4/ctypes/_endian.py +59 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/README.ctypes +7 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/__init__.py +9 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/dyld.py +158 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/dylib.py +63 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib +2 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/framework.py +65 -0
- package/python3.4.2/lib/python3.4/ctypes/test/__init__.py +14 -0
- package/python3.4.2/lib/python3.4/ctypes/test/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_anon.py +60 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_array_in_pointer.py +64 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_arrays.py +181 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_as_parameter.py +226 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_bitfields.py +263 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_buffers.py +64 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_bytes.py +65 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_byteswap.py +295 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_callbacks.py +247 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_cast.py +86 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_cfuncs.py +212 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_checkretval.py +36 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_delattr.py +21 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_errno.py +79 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_find.py +81 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_frombuffer.py +81 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_funcptr.py +127 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_functions.py +402 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_incomplete.py +42 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_init.py +40 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_internals.py +100 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_keeprefs.py +153 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_libc.py +33 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_loading.py +119 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_macholib.py +63 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_memfunctions.py +79 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_numbers.py +290 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_objects.py +67 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_parameters.py +176 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pep3118.py +206 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pickling.py +83 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pointers.py +192 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_prototypes.py +219 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_python_api.py +89 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_random_things.py +74 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_refcounts.py +101 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_repr.py +29 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_returnfuncptrs.py +67 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_simplesubclasses.py +55 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_sizes.py +34 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_slicing.py +167 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_stringptr.py +77 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_strings.py +225 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_struct_fields.py +50 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_structures.py +468 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_unaligned_structures.py +45 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_unicode.py +56 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_values.py +95 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_varsize_struct.py +50 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_win32.py +119 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_wintypes.py +41 -0
- package/python3.4.2/lib/python3.4/ctypes/util.py +267 -0
- package/python3.4.2/lib/python3.4/ctypes/wintypes.py +202 -0
- package/python3.4.2/lib/python3.4/curses/__init__.py +101 -0
- package/python3.4.2/lib/python3.4/curses/ascii.py +99 -0
- package/python3.4.2/lib/python3.4/curses/has_key.py +192 -0
- package/python3.4.2/lib/python3.4/curses/panel.py +6 -0
- package/python3.4.2/lib/python3.4/curses/textpad.py +188 -0
- package/python3.4.2/lib/python3.4/datetime.py +2136 -0
- package/python3.4.2/lib/python3.4/dbm/__init__.py +188 -0
- package/python3.4.2/lib/python3.4/dbm/dumb.py +291 -0
- package/python3.4.2/lib/python3.4/dbm/gnu.py +3 -0
- package/python3.4.2/lib/python3.4/dbm/ndbm.py +3 -0
- package/python3.4.2/lib/python3.4/decimal.py +6414 -0
- package/python3.4.2/lib/python3.4/difflib.py +2039 -0
- package/python3.4.2/lib/python3.4/dis.py +475 -0
- package/python3.4.2/lib/python3.4/distutils/README +13 -0
- package/python3.4.2/lib/python3.4/distutils/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/distutils/archive_util.py +245 -0
- package/python3.4.2/lib/python3.4/distutils/bcppcompiler.py +393 -0
- package/python3.4.2/lib/python3.4/distutils/ccompiler.py +1115 -0
- package/python3.4.2/lib/python3.4/distutils/cmd.py +435 -0
- package/python3.4.2/lib/python3.4/distutils/command/__init__.py +31 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist.py +142 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_dumb.py +122 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_msi.py +741 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_rpm.py +582 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_wininst.py +349 -0
- package/python3.4.2/lib/python3.4/distutils/command/build.py +148 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_clib.py +209 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_ext.py +735 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_py.py +416 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_scripts.py +160 -0
- package/python3.4.2/lib/python3.4/distutils/command/check.py +145 -0
- package/python3.4.2/lib/python3.4/distutils/command/clean.py +76 -0
- package/python3.4.2/lib/python3.4/distutils/command/command_template +33 -0
- package/python3.4.2/lib/python3.4/distutils/command/config.py +347 -0
- package/python3.4.2/lib/python3.4/distutils/command/install.py +650 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_data.py +79 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_egg_info.py +77 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_headers.py +47 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_lib.py +217 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_scripts.py +60 -0
- package/python3.4.2/lib/python3.4/distutils/command/register.py +304 -0
- package/python3.4.2/lib/python3.4/distutils/command/sdist.py +467 -0
- package/python3.4.2/lib/python3.4/distutils/command/upload.py +202 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0-amd64.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-6.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-7.1.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-8.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0-amd64.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/config.py +131 -0
- package/python3.4.2/lib/python3.4/distutils/core.py +237 -0
- package/python3.4.2/lib/python3.4/distutils/cygwinccompiler.py +405 -0
- package/python3.4.2/lib/python3.4/distutils/debug.py +5 -0
- package/python3.4.2/lib/python3.4/distutils/dep_util.py +92 -0
- package/python3.4.2/lib/python3.4/distutils/dir_util.py +210 -0
- package/python3.4.2/lib/python3.4/distutils/dist.py +1238 -0
- package/python3.4.2/lib/python3.4/distutils/errors.py +97 -0
- package/python3.4.2/lib/python3.4/distutils/extension.py +233 -0
- package/python3.4.2/lib/python3.4/distutils/fancy_getopt.py +457 -0
- package/python3.4.2/lib/python3.4/distutils/file_util.py +230 -0
- package/python3.4.2/lib/python3.4/distutils/filelist.py +328 -0
- package/python3.4.2/lib/python3.4/distutils/log.py +75 -0
- package/python3.4.2/lib/python3.4/distutils/msvc9compiler.py +788 -0
- package/python3.4.2/lib/python3.4/distutils/msvccompiler.py +640 -0
- package/python3.4.2/lib/python3.4/distutils/spawn.py +195 -0
- package/python3.4.2/lib/python3.4/distutils/sysconfig.py +562 -0
- package/python3.4.2/lib/python3.4/distutils/tests/Setup.sample +67 -0
- package/python3.4.2/lib/python3.4/distutils/tests/__init__.py +36 -0
- package/python3.4.2/lib/python3.4/distutils/tests/support.py +210 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_archive_util.py +341 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist.py +50 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_dumb.py +97 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_msi.py +25 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_rpm.py +134 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_wininst.py +31 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build.py +55 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_clib.py +143 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_ext.py +488 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_py.py +178 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_scripts.py +112 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_check.py +106 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_clean.py +51 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_cmd.py +126 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_config.py +120 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_config_cmd.py +89 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_core.py +108 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_cygwinccompiler.py +155 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dep_util.py +81 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dir_util.py +139 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dist.py +454 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_extension.py +69 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_file_util.py +85 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_filelist.py +299 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install.py +246 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_data.py +77 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_headers.py +41 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_lib.py +115 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_scripts.py +82 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_log.py +37 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_msvc9compiler.py +184 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_register.py +309 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_sdist.py +484 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_spawn.py +58 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_sysconfig.py +207 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_text_file.py +107 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_unixccompiler.py +150 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_upload.py +151 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_util.py +300 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_version.py +71 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_versionpredicate.py +13 -0
- package/python3.4.2/lib/python3.4/distutils/tests/xxmodule.c +396 -0
- package/python3.4.2/lib/python3.4/distutils/text_file.py +285 -0
- package/python3.4.2/lib/python3.4/distutils/unixccompiler.py +298 -0
- package/python3.4.2/lib/python3.4/distutils/util.py +553 -0
- package/python3.4.2/lib/python3.4/distutils/version.py +349 -0
- package/python3.4.2/lib/python3.4/distutils/versionpredicate.py +166 -0
- package/python3.4.2/lib/python3.4/doctest.py +2793 -0
- package/python3.4.2/lib/python3.4/dummy_threading.py +78 -0
- package/python3.4.2/lib/python3.4/email/__init__.py +64 -0
- package/python3.4.2/lib/python3.4/email/_encoded_words.py +221 -0
- package/python3.4.2/lib/python3.4/email/_header_value_parser.py +2947 -0
- package/python3.4.2/lib/python3.4/email/_parseaddr.py +540 -0
- package/python3.4.2/lib/python3.4/email/_policybase.py +358 -0
- package/python3.4.2/lib/python3.4/email/architecture.rst +216 -0
- package/python3.4.2/lib/python3.4/email/base64mime.py +119 -0
- package/python3.4.2/lib/python3.4/email/charset.py +409 -0
- package/python3.4.2/lib/python3.4/email/contentmanager.py +249 -0
- package/python3.4.2/lib/python3.4/email/encoders.py +69 -0
- package/python3.4.2/lib/python3.4/email/errors.py +107 -0
- package/python3.4.2/lib/python3.4/email/feedparser.py +526 -0
- package/python3.4.2/lib/python3.4/email/generator.py +507 -0
- package/python3.4.2/lib/python3.4/email/header.py +581 -0
- package/python3.4.2/lib/python3.4/email/headerregistry.py +583 -0
- package/python3.4.2/lib/python3.4/email/iterators.py +71 -0
- package/python3.4.2/lib/python3.4/email/message.py +1147 -0
- package/python3.4.2/lib/python3.4/email/mime/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/email/mime/application.py +36 -0
- package/python3.4.2/lib/python3.4/email/mime/audio.py +73 -0
- package/python3.4.2/lib/python3.4/email/mime/base.py +26 -0
- package/python3.4.2/lib/python3.4/email/mime/image.py +46 -0
- package/python3.4.2/lib/python3.4/email/mime/message.py +34 -0
- package/python3.4.2/lib/python3.4/email/mime/multipart.py +47 -0
- package/python3.4.2/lib/python3.4/email/mime/nonmultipart.py +22 -0
- package/python3.4.2/lib/python3.4/email/mime/text.py +41 -0
- package/python3.4.2/lib/python3.4/email/parser.py +132 -0
- package/python3.4.2/lib/python3.4/email/policy.py +201 -0
- package/python3.4.2/lib/python3.4/email/quoprimime.py +299 -0
- package/python3.4.2/lib/python3.4/email/utils.py +399 -0
- package/python3.4.2/lib/python3.4/encodings/__init__.py +152 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/aliases.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/ascii.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/latin_1.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/utf_8.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/aliases.py +544 -0
- package/python3.4.2/lib/python3.4/encodings/ascii.py +50 -0
- package/python3.4.2/lib/python3.4/encodings/base64_codec.py +55 -0
- package/python3.4.2/lib/python3.4/encodings/big5.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/big5hkscs.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/bz2_codec.py +78 -0
- package/python3.4.2/lib/python3.4/encodings/charmap.py +69 -0
- package/python3.4.2/lib/python3.4/encodings/cp037.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1006.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1026.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1125.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp1140.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1250.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1251.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1252.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1253.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1254.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1255.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1256.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1257.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1258.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp273.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp424.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp437.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp500.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp65001.py +40 -0
- package/python3.4.2/lib/python3.4/encodings/cp720.py +309 -0
- package/python3.4.2/lib/python3.4/encodings/cp737.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp775.py +697 -0
- package/python3.4.2/lib/python3.4/encodings/cp850.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp852.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp855.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp856.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp857.py +694 -0
- package/python3.4.2/lib/python3.4/encodings/cp858.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp860.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp861.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp862.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp863.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp864.py +690 -0
- package/python3.4.2/lib/python3.4/encodings/cp865.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp866.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp869.py +689 -0
- package/python3.4.2/lib/python3.4/encodings/cp874.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp875.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp932.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/cp949.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/cp950.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jis_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jisx0213.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jp.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_kr.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gb18030.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gb2312.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gbk.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/hex_codec.py +55 -0
- package/python3.4.2/lib/python3.4/encodings/hp_roman8.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/hz.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/idna.py +309 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_1.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_3.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_ext.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_kr.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_1.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_10.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_11.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_13.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_14.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_15.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_16.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_2.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_3.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_4.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_5.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_6.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_7.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_8.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_9.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/johab.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/koi8_r.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/koi8_u.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/latin_1.py +50 -0
- package/python3.4.2/lib/python3.4/encodings/mac_arabic.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/mac_centeuro.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_croatian.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_cyrillic.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_farsi.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_greek.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_iceland.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_latin2.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/mac_roman.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_romanian.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_turkish.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mbcs.py +47 -0
- package/python3.4.2/lib/python3.4/encodings/palmos.py +308 -0
- package/python3.4.2/lib/python3.4/encodings/ptcp154.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/punycode.py +237 -0
- package/python3.4.2/lib/python3.4/encodings/quopri_codec.py +56 -0
- package/python3.4.2/lib/python3.4/encodings/raw_unicode_escape.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/rot_13.py +113 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jis.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jis_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jisx0213.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/tis_620.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/undefined.py +49 -0
- package/python3.4.2/lib/python3.4/encodings/unicode_escape.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/unicode_internal.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16.py +155 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16_be.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16_le.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32.py +150 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32_be.py +37 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32_le.py +37 -0
- package/python3.4.2/lib/python3.4/encodings/utf_7.py +38 -0
- package/python3.4.2/lib/python3.4/encodings/utf_8.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_8_sig.py +130 -0
- package/python3.4.2/lib/python3.4/encodings/uu_codec.py +99 -0
- package/python3.4.2/lib/python3.4/encodings/zlib_codec.py +77 -0
- package/python3.4.2/lib/python3.4/ensurepip/__init__.py +210 -0
- package/python3.4.2/lib/python3.4/ensurepip/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl +0 -0
- package/python3.4.2/lib/python3.4/ensurepip/_bundled/setuptools-2.1-py2.py3-none-any.whl +0 -0
- package/python3.4.2/lib/python3.4/ensurepip/_uninstall.py +30 -0
- package/python3.4.2/lib/python3.4/enum.py +525 -0
- package/python3.4.2/lib/python3.4/filecmp.py +305 -0
- package/python3.4.2/lib/python3.4/fileinput.py +429 -0
- package/python3.4.2/lib/python3.4/fnmatch.py +109 -0
- package/python3.4.2/lib/python3.4/formatter.py +448 -0
- package/python3.4.2/lib/python3.4/fractions.py +630 -0
- package/python3.4.2/lib/python3.4/ftplib.py +1088 -0
- package/python3.4.2/lib/python3.4/functools.py +721 -0
- package/python3.4.2/lib/python3.4/genericpath.py +132 -0
- package/python3.4.2/lib/python3.4/getopt.py +215 -0
- package/python3.4.2/lib/python3.4/getpass.py +186 -0
- package/python3.4.2/lib/python3.4/gettext.py +523 -0
- package/python3.4.2/lib/python3.4/glob.py +110 -0
- package/python3.4.2/lib/python3.4/gzip.py +674 -0
- package/python3.4.2/lib/python3.4/hashlib.py +217 -0
- package/python3.4.2/lib/python3.4/heapq.py +476 -0
- package/python3.4.2/lib/python3.4/hmac.py +144 -0
- package/python3.4.2/lib/python3.4/html/__init__.py +132 -0
- package/python3.4.2/lib/python3.4/html/entities.py +2506 -0
- package/python3.4.2/lib/python3.4/html/parser.py +550 -0
- package/python3.4.2/lib/python3.4/http/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/http/client.py +1302 -0
- package/python3.4.2/lib/python3.4/http/cookiejar.py +2080 -0
- package/python3.4.2/lib/python3.4/http/cookies.py +578 -0
- package/python3.4.2/lib/python3.4/http/server.py +1241 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoComplete.py +233 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoCompleteWindow.py +415 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoExpand.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/Bindings.py +94 -0
- package/python3.4.2/lib/python3.4/idlelib/CREDITS.txt +37 -0
- package/python3.4.2/lib/python3.4/idlelib/CallTipWindow.py +170 -0
- package/python3.4.2/lib/python3.4/idlelib/CallTips.py +175 -0
- package/python3.4.2/lib/python3.4/idlelib/ChangeLog +1591 -0
- package/python3.4.2/lib/python3.4/idlelib/ClassBrowser.py +229 -0
- package/python3.4.2/lib/python3.4/idlelib/CodeContext.py +176 -0
- package/python3.4.2/lib/python3.4/idlelib/ColorDelegator.py +254 -0
- package/python3.4.2/lib/python3.4/idlelib/Debugger.py +490 -0
- package/python3.4.2/lib/python3.4/idlelib/Delegator.py +25 -0
- package/python3.4.2/lib/python3.4/idlelib/EditorWindow.py +1729 -0
- package/python3.4.2/lib/python3.4/idlelib/FileList.py +129 -0
- package/python3.4.2/lib/python3.4/idlelib/FormatParagraph.py +193 -0
- package/python3.4.2/lib/python3.4/idlelib/GrepDialog.py +159 -0
- package/python3.4.2/lib/python3.4/idlelib/HISTORY.txt +296 -0
- package/python3.4.2/lib/python3.4/idlelib/HyperParser.py +313 -0
- package/python3.4.2/lib/python3.4/idlelib/IOBinding.py +555 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/folder.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle.icns +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle.ico +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/minusnode.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/openfolder.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/plusnode.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/python.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/tk.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/IdleHistory.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/MultiCall.py +453 -0
- package/python3.4.2/lib/python3.4/idlelib/MultiStatusBar.py +45 -0
- package/python3.4.2/lib/python3.4/idlelib/NEWS.txt +877 -0
- package/python3.4.2/lib/python3.4/idlelib/ObjectBrowser.py +143 -0
- package/python3.4.2/lib/python3.4/idlelib/OutputWindow.py +144 -0
- package/python3.4.2/lib/python3.4/idlelib/ParenMatch.py +178 -0
- package/python3.4.2/lib/python3.4/idlelib/PathBrowser.py +106 -0
- package/python3.4.2/lib/python3.4/idlelib/Percolator.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/PyParse.py +618 -0
- package/python3.4.2/lib/python3.4/idlelib/PyShell.py +1619 -0
- package/python3.4.2/lib/python3.4/idlelib/README.txt +60 -0
- package/python3.4.2/lib/python3.4/idlelib/RemoteDebugger.py +389 -0
- package/python3.4.2/lib/python3.4/idlelib/RemoteObjectBrowser.py +36 -0
- package/python3.4.2/lib/python3.4/idlelib/ReplaceDialog.py +221 -0
- package/python3.4.2/lib/python3.4/idlelib/RstripExtension.py +33 -0
- package/python3.4.2/lib/python3.4/idlelib/ScriptBinding.py +207 -0
- package/python3.4.2/lib/python3.4/idlelib/ScrolledList.py +140 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchDialog.py +89 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchDialogBase.py +184 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchEngine.py +233 -0
- package/python3.4.2/lib/python3.4/idlelib/StackViewer.py +152 -0
- package/python3.4.2/lib/python3.4/idlelib/TODO.txt +210 -0
- package/python3.4.2/lib/python3.4/idlelib/ToolTip.py +97 -0
- package/python3.4.2/lib/python3.4/idlelib/TreeWidget.py +465 -0
- package/python3.4.2/lib/python3.4/idlelib/UndoDelegator.py +365 -0
- package/python3.4.2/lib/python3.4/idlelib/WidgetRedirector.py +174 -0
- package/python3.4.2/lib/python3.4/idlelib/WindowList.py +90 -0
- package/python3.4.2/lib/python3.4/idlelib/ZoomHeight.py +51 -0
- package/python3.4.2/lib/python3.4/idlelib/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/idlelib/__main__.py +9 -0
- package/python3.4.2/lib/python3.4/idlelib/aboutDialog.py +145 -0
- package/python3.4.2/lib/python3.4/idlelib/config-extensions.def +96 -0
- package/python3.4.2/lib/python3.4/idlelib/config-highlight.def +64 -0
- package/python3.4.2/lib/python3.4/idlelib/config-keys.def +214 -0
- package/python3.4.2/lib/python3.4/idlelib/config-main.def +79 -0
- package/python3.4.2/lib/python3.4/idlelib/configDialog.py +1195 -0
- package/python3.4.2/lib/python3.4/idlelib/configHandler.py +722 -0
- package/python3.4.2/lib/python3.4/idlelib/configHelpSourceEdit.py +166 -0
- package/python3.4.2/lib/python3.4/idlelib/configSectionNameDialog.py +98 -0
- package/python3.4.2/lib/python3.4/idlelib/dynOptionMenuWidget.py +57 -0
- package/python3.4.2/lib/python3.4/idlelib/extend.txt +83 -0
- package/python3.4.2/lib/python3.4/idlelib/help.txt +368 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.bat +4 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.py +11 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.pyw +21 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/README.txt +115 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/__init__.py +9 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/htest.py +369 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_idle.py +55 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_tk.py +298 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autocomplete.py +143 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autoexpand.py +141 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_calltips.py +172 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_config_name.py +75 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_configdialog.py +32 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_delegator.py +37 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_formatparagraph.py +377 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_grep.py +80 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_hyperparser.py +273 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_idlehistory.py +167 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_parenmatch.py +109 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_pathbrowser.py +12 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_rstrip.py +49 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchdialogbase.py +165 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchengine.py +329 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_text.py +228 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_textview.py +97 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_warning.py +73 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_widgetredir.py +122 -0
- package/python3.4.2/lib/python3.4/idlelib/idlever.py +1 -0
- package/python3.4.2/lib/python3.4/idlelib/keybindingDialog.py +266 -0
- package/python3.4.2/lib/python3.4/idlelib/macosxSupport.py +239 -0
- package/python3.4.2/lib/python3.4/idlelib/rpc.py +624 -0
- package/python3.4.2/lib/python3.4/idlelib/run.py +404 -0
- package/python3.4.2/lib/python3.4/idlelib/tabbedpages.py +498 -0
- package/python3.4.2/lib/python3.4/idlelib/testcode.py +31 -0
- package/python3.4.2/lib/python3.4/idlelib/textView.py +86 -0
- package/python3.4.2/lib/python3.4/imaplib.py +1549 -0
- package/python3.4.2/lib/python3.4/imghdr.py +154 -0
- package/python3.4.2/lib/python3.4/imp.py +315 -0
- package/python3.4.2/lib/python3.4/importlib/__init__.py +156 -0
- package/python3.4.2/lib/python3.4/importlib/_bootstrap.py +2461 -0
- package/python3.4.2/lib/python3.4/importlib/abc.py +323 -0
- package/python3.4.2/lib/python3.4/importlib/machinery.py +21 -0
- package/python3.4.2/lib/python3.4/importlib/util.py +202 -0
- package/python3.4.2/lib/python3.4/inspect.py +2759 -0
- package/python3.4.2/lib/python3.4/io.py +92 -0
- package/python3.4.2/lib/python3.4/ipaddress.py +2183 -0
- package/python3.4.2/lib/python3.4/json/__init__.py +331 -0
- package/python3.4.2/lib/python3.4/json/decoder.py +362 -0
- package/python3.4.2/lib/python3.4/json/encoder.py +433 -0
- package/python3.4.2/lib/python3.4/json/scanner.py +73 -0
- package/python3.4.2/lib/python3.4/json/tool.py +39 -0
- package/python3.4.2/lib/python3.4/keyword.py +94 -0
- package/python3.4.2/lib/python3.4/lib2to3/Grammar.txt +159 -0
- package/python3.4.2/lib/python3.4/lib2to3/Grammar3.4.2.final.0.pickle +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar.txt +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar3.4.2.final.0.pickle +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/lib2to3/btm_matcher.py +168 -0
- package/python3.4.2/lib/python3.4/lib2to3/btm_utils.py +281 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixer_base.py +187 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixer_util.py +455 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_apply.py +59 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_asserts.py +34 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_basestring.py +14 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_buffer.py +22 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_callable.py +37 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_dict.py +107 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_except.py +93 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exec.py +40 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_execfile.py +52 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exitfunc.py +72 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_filter.py +76 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_funcattrs.py +21 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_future.py +22 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_getcwdu.py +19 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_has_key.py +110 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_idioms.py +152 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_import.py +99 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports.py +145 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports2.py +16 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_input.py +26 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_intern.py +31 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_isinstance.py +52 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools.py +43 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools_imports.py +57 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_long.py +19 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_map.py +91 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_metaclass.py +228 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_methodattrs.py +24 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ne.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_next.py +103 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_nonzero.py +21 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_numliterals.py +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_operator.py +98 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_paren.py +44 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_print.py +87 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raise.py +90 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raw_input.py +17 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reduce.py +35 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reload.py +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_renames.py +70 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_repr.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_set_literal.py +53 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_standarderror.py +18 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_sys_exc.py +30 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_throw.py +56 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_tuple_params.py +175 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_types.py +62 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_unicode.py +42 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_urllib.py +197 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ws_comma.py +39 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xrange.py +73 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xreadlines.py +25 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_zip.py +35 -0
- package/python3.4.2/lib/python3.4/lib2to3/main.py +268 -0
- package/python3.4.2/lib/python3.4/lib2to3/patcomp.py +205 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/conv.py +257 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/driver.py +157 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/grammar.py +183 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/literals.py +60 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/parse.py +201 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/pgen.py +386 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/token.py +83 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/tokenize.py +502 -0
- package/python3.4.2/lib/python3.4/lib2to3/pygram.py +40 -0
- package/python3.4.2/lib/python3.4/lib2to3/pytree.py +864 -0
- package/python3.4.2/lib/python3.4/lib2to3/refactor.py +747 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/__init__.py +24 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/README +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/bom.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/crlf.py +3 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/different_encoding.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/false_encoding.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/bad_order.py +5 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/parrot_example.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/infinite_recursion.py +2669 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/py2_test_grammar.py +974 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/py3_test_grammar.py +923 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/pytree_idempotency.py +92 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/support.py +54 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_all_fixers.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_fixers.py +4687 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_main.py +139 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_parser.py +249 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_pytree.py +477 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_refactor.py +321 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_util.py +594 -0
- package/python3.4.2/lib/python3.4/linecache.py +134 -0
- package/python3.4.2/lib/python3.4/locale.py +1559 -0
- package/python3.4.2/lib/python3.4/logging/__init__.py +1950 -0
- package/python3.4.2/lib/python3.4/logging/config.py +927 -0
- package/python3.4.2/lib/python3.4/logging/handlers.py +1452 -0
- package/python3.4.2/lib/python3.4/lzma.py +511 -0
- package/python3.4.2/lib/python3.4/macpath.py +205 -0
- package/python3.4.2/lib/python3.4/macurl2path.py +77 -0
- package/python3.4.2/lib/python3.4/mailbox.py +2136 -0
- package/python3.4.2/lib/python3.4/mailcap.py +253 -0
- package/python3.4.2/lib/python3.4/mimetypes.py +592 -0
- package/python3.4.2/lib/python3.4/modulefinder.py +642 -0
- package/python3.4.2/lib/python3.4/multiprocessing/__init__.py +38 -0
- package/python3.4.2/lib/python3.4/multiprocessing/connection.py +954 -0
- package/python3.4.2/lib/python3.4/multiprocessing/context.py +348 -0
- package/python3.4.2/lib/python3.4/multiprocessing/dummy/__init__.py +119 -0
- package/python3.4.2/lib/python3.4/multiprocessing/dummy/connection.py +74 -0
- package/python3.4.2/lib/python3.4/multiprocessing/forkserver.py +267 -0
- package/python3.4.2/lib/python3.4/multiprocessing/heap.py +249 -0
- package/python3.4.2/lib/python3.4/multiprocessing/managers.py +1131 -0
- package/python3.4.2/lib/python3.4/multiprocessing/pool.py +769 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_fork.py +83 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_forkserver.py +69 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_posix.py +69 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_win32.py +99 -0
- package/python3.4.2/lib/python3.4/multiprocessing/process.py +332 -0
- package/python3.4.2/lib/python3.4/multiprocessing/queues.py +367 -0
- package/python3.4.2/lib/python3.4/multiprocessing/reduction.py +240 -0
- package/python3.4.2/lib/python3.4/multiprocessing/resource_sharer.py +158 -0
- package/python3.4.2/lib/python3.4/multiprocessing/semaphore_tracker.py +143 -0
- package/python3.4.2/lib/python3.4/multiprocessing/sharedctypes.py +245 -0
- package/python3.4.2/lib/python3.4/multiprocessing/spawn.py +287 -0
- package/python3.4.2/lib/python3.4/multiprocessing/synchronize.py +418 -0
- package/python3.4.2/lib/python3.4/multiprocessing/util.py +367 -0
- package/python3.4.2/lib/python3.4/netrc.py +142 -0
- package/python3.4.2/lib/python3.4/nntplib.py +1134 -0
- package/python3.4.2/lib/python3.4/ntpath.py +625 -0
- package/python3.4.2/lib/python3.4/nturl2path.py +66 -0
- package/python3.4.2/lib/python3.4/numbers.py +394 -0
- package/python3.4.2/lib/python3.4/opcode.py +200 -0
- package/python3.4.2/lib/python3.4/operator.py +411 -0
- package/python3.4.2/lib/python3.4/optparse.py +1680 -0
- package/python3.4.2/lib/python3.4/os.py +980 -0
- package/python3.4.2/lib/python3.4/pathlib.py +1291 -0
- package/python3.4.2/lib/python3.4/pdb.py +1685 -0
- package/python3.4.2/lib/python3.4/pickle.py +1599 -0
- package/python3.4.2/lib/python3.4/pickletools.py +2818 -0
- package/python3.4.2/lib/python3.4/pipes.py +247 -0
- package/python3.4.2/lib/python3.4/pkgutil.py +629 -0
- package/python3.4.2/lib/python3.4/plat-linux/CDROM.py +207 -0
- package/python3.4.2/lib/python3.4/plat-linux/DLFCN.py +83 -0
- package/python3.4.2/lib/python3.4/plat-linux/IN.py +615 -0
- package/python3.4.2/lib/python3.4/plat-linux/TYPES.py +170 -0
- package/python3.4.2/lib/python3.4/plat-linux/regen +8 -0
- package/python3.4.2/lib/python3.4/platform.py +1476 -0
- package/python3.4.2/lib/python3.4/plistlib.py +1025 -0
- package/python3.4.2/lib/python3.4/poplib.py +461 -0
- package/python3.4.2/lib/python3.4/posixpath.py +457 -0
- package/python3.4.2/lib/python3.4/pprint.py +416 -0
- package/python3.4.2/lib/python3.4/profile.py +589 -0
- package/python3.4.2/lib/python3.4/pstats.py +691 -0
- package/python3.4.2/lib/python3.4/pty.py +170 -0
- package/python3.4.2/lib/python3.4/py_compile.py +185 -0
- package/python3.4.2/lib/python3.4/pyclbr.py +351 -0
- package/python3.4.2/lib/python3.4/pydoc.py +2622 -0
- package/python3.4.2/lib/python3.4/pydoc_data/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/pydoc_data/_pydoc.css +6 -0
- package/python3.4.2/lib/python3.4/pydoc_data/topics.py +79 -0
- package/python3.4.2/lib/python3.4/queue.py +249 -0
- package/python3.4.2/lib/python3.4/quopri.py +242 -0
- package/python3.4.2/lib/python3.4/random.py +742 -0
- package/python3.4.2/lib/python3.4/re.py +368 -0
- package/python3.4.2/lib/python3.4/reprlib.py +157 -0
- package/python3.4.2/lib/python3.4/rlcompleter.py +165 -0
- package/python3.4.2/lib/python3.4/runpy.py +271 -0
- package/python3.4.2/lib/python3.4/sched.py +167 -0
- package/python3.4.2/lib/python3.4/selectors.py +525 -0
- package/python3.4.2/lib/python3.4/shelve.py +239 -0
- package/python3.4.2/lib/python3.4/shlex.py +304 -0
- package/python3.4.2/lib/python3.4/shutil.py +1127 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/PKG-INFO +55 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/SOURCES.txt +126 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/entry_points.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/requires.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/__init__.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_compat.py +150 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_stringdefs.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/bccache.py +344 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/compiler.py +1640 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/constants.py +32 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/debug.py +337 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/defaults.py +43 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py +1191 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/exceptions.py +146 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/ext.py +636 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/filters.py +987 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/lexer.py +733 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/loaders.py +471 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/meta.py +103 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/nodes.py +914 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/optimizer.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/parser.py +895 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/runtime.py +581 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py +368 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/tests.py +149 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/__init__.py +156 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/api.py +261 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/bytecode_cache.py +37 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/core_tags.py +305 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/debug.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/doctests.py +29 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/ext.py +459 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/filters.py +515 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/imports.py +141 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/inheritance.py +250 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/lexnparse.py +593 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/loader.py +226 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/regression.py +279 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/broken.html +3 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/foo/test.html +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/syntaxerror.html +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/test.html +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/security.py +166 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/tests.py +93 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/utils.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/utils.py +520 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/visitor.py +87 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/PKG-INFO +119 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/SOURCES.txt +17 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/__init__.py +298 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_compat.py +26 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_constants.py +267 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_native.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_speedups.c +239 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/tests.py +179 -0
- package/python3.4.2/lib/python3.4/site-packages/README +2 -0
- package/python3.4.2/lib/python3.4/site-packages/_markerlib/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/_markerlib/markers.py +119 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/PKG-INFO +68 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/SOURCES.txt +23 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/entry_points.txt +3 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/requires.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/scripts/android-debian-builder +6 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__main__.py +26 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/build.py +63 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/config.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/deb.sh +106 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/default-config +42 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/first-time-setup.sh +94 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/init.sh +27 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/examples/jessie-armhf.cfg +26 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/run_tests.py +38 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/script.py +110 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/util.py +177 -0
- package/python3.4.2/lib/python3.4/site-packages/easy-install.pth +4 -0
- package/python3.4.2/lib/python3.4/site-packages/easy_install.py +5 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/__init__.py +277 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/__main__.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/__init__.py +8 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/markers.py +119 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/__init__.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansi.py +50 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansitowin32.py +190 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/initialise.py +56 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/win32.py +137 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/winterm.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/shutil.py +761 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +788 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/compat.py +1064 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/database.py +1301 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/index.py +488 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/locators.py +1194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/manifest.py +364 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/markers.py +190 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/metadata.py +1026 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/resources.py +317 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/scripts.py +323 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/util.py +1575 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/version.py +721 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/wheel.py +958 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/constants.py +3104 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/_base.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +20 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +65 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +205 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/html5parser.py +2713 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/ihatexml.py +285 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/inputstream.py +881 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/sanitizer.py +271 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/htmlserializer.py +320 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/tokenizer.py +1731 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +76 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/_base.py +377 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +227 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +337 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +369 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +57 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/_base.py +200 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +138 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/genshistream.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/lxmletree.py +208 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/pulldom.py +63 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/__init__.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/_base.py +37 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/datrie.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/py.py +67 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/utils.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py +2762 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/re-vendor.py +34 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__init__.py +77 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/adapters.py +388 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/api.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/auth.py +193 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cacert.pem +5026 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/certs.py +24 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/compat.py +115 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cookies.py +454 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/exceptions.py +75 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/hooks.py +45 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/models.py +803 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/__init__.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/__init__.py +32 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5freq.py +925 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5prober.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardetect.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardistribution.py +231 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetgroupprober.py +106 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetprober.py +62 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/codingstatemachine.py +61 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/compat.py +34 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/constants.py +39 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/cp949prober.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escprober.py +86 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escsm.py +242 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/eucjpprober.py +90 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py +596 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrprober.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwfreq.py +428 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwprober.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312freq.py +472 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312prober.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/hebrewprober.py +283 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jisfreq.py +569 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jpcntx.py +219 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langbulgarianmodel.py +229 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langcyrillicmodel.py +329 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langgreekmodel.py +225 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhebrewmodel.py +201 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhungarianmodel.py +225 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langthaimodel.py +200 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/latin1prober.py +139 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcharsetprober.py +86 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcsgroupprober.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcssm.py +575 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcharsetprober.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcsgroupprober.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sjisprober.py +91 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/universaldetector.py +170 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/utf8prober.py +76 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/_collections.py +205 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connection.py +204 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py +710 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py +422 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/exceptions.py +126 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/fields.py +177 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/filepost.py +100 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ordered_dict.py +260 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py +385 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py +13 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py +105 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/poolmanager.py +258 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/request.py +141 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/response.py +308 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py +27 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py +45 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/request.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/response.py +13 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py +133 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/timeout.py +234 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/url.py +162 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py +637 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/status_codes.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/structures.py +127 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/utils.py +673 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/six.py +646 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/backwardcompat/__init__.py +138 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/basecommand.py +201 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/baseparser.py +224 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/cmdoptions.py +371 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/__init__.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/bundle.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/completion.py +59 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/freeze.py +114 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/help.py +33 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/install.py +314 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/list.py +162 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/search.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/show.py +80 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/uninstall.py +59 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/unzip.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/wheel.py +195 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/zip.py +351 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/download.py +644 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/exceptions.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/index.py +990 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/locations.py +172 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/log.py +276 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/pep425tags.py +102 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/req.py +1931 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/runner.py +18 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/status_codes.py +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/util.py +720 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/__init__.py +251 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/bazaar.py +131 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/git.py +194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/mercurial.py +151 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/subversion.py +273 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/wheel.py +560 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/DESCRIPTION.rst +71 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/METADATA +98 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/RECORD +373 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/WHEEL +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/entry_points.txt +5 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/metadata.json +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pkg_resources.py +2719 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/__init__.py +98 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/archive_util.py +210 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-arm-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/alias.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_egg.py +553 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_rpm.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_wininst.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_ext.py +298 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_py.py +221 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/develop.py +167 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/easy_install.py +1915 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/egg_info.py +392 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install.py +103 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_egg_info.py +125 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_lib.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_scripts.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/register.py +10 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/rotate.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/saveopts.py +24 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/sdist.py +238 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/setopt.py +164 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/test.py +198 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/upload_docs.py +193 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/compat.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/depends.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/dist.py +796 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/extension.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-arm-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/lib2to3_ex.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/package_index.py +1057 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py26compat.py +19 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py27compat.py +15 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py31compat.py +11 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/sandbox.py +322 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/script template (dev).py +11 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/script template.py +4 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/site-patch.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/ssl_support.py +234 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/svn_utils.py +564 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/__init__.py +352 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/doctest.py +2683 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/environment.py +165 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/py26compat.py +14 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/script-with-bom.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/server.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_build_ext.py +20 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_develop.py +122 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_dist_info.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_easy_install.py +394 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py +173 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_markerlib.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py +203 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_resources.py +620 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sandbox.py +79 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sdist.py +535 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_svn.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_test.py +124 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_upload_docs.py +72 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/version.py +1 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/DESCRIPTION.rst +1742 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/METADATA +1772 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/RECORD +149 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/WHEEL +6 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/dependency_links.txt +2 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt +62 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt.orig +62 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/pydist.json +1 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/requires.txt.orig +7 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/top_level.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site.py +616 -0
- package/python3.4.2/lib/python3.4/smtpd.py +861 -0
- package/python3.4.2/lib/python3.4/smtplib.py +999 -0
- package/python3.4.2/lib/python3.4/sndhdr.py +240 -0
- package/python3.4.2/lib/python3.4/socket.py +535 -0
- package/python3.4.2/lib/python3.4/socketserver.py +748 -0
- package/python3.4.2/lib/python3.4/sqlite3/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/sqlite3/dbapi2.py +89 -0
- package/python3.4.2/lib/python3.4/sqlite3/dump.py +70 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/dbapi.py +911 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/dump.py +81 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/factory.py +253 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/hooks.py +258 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/regression.py +358 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/transactions.py +204 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/types.py +403 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/userfunctions.py +468 -0
- package/python3.4.2/lib/python3.4/sre_compile.py +489 -0
- package/python3.4.2/lib/python3.4/sre_constants.py +261 -0
- package/python3.4.2/lib/python3.4/sre_parse.py +859 -0
- package/python3.4.2/lib/python3.4/ssl.py +945 -0
- package/python3.4.2/lib/python3.4/stat.py +155 -0
- package/python3.4.2/lib/python3.4/statistics.py +595 -0
- package/python3.4.2/lib/python3.4/string.py +282 -0
- package/python3.4.2/lib/python3.4/stringprep.py +272 -0
- package/python3.4.2/lib/python3.4/struct.py +15 -0
- package/python3.4.2/lib/python3.4/subprocess.py +1690 -0
- package/python3.4.2/lib/python3.4/sunau.py +525 -0
- package/python3.4.2/lib/python3.4/symbol.py +111 -0
- package/python3.4.2/lib/python3.4/symtable.py +240 -0
- package/python3.4.2/lib/python3.4/sysconfig.py +709 -0
- package/python3.4.2/lib/python3.4/tabnanny.py +332 -0
- package/python3.4.2/lib/python3.4/tarfile.py +2519 -0
- package/python3.4.2/lib/python3.4/telnetlib.py +672 -0
- package/python3.4.2/lib/python3.4/tempfile.py +698 -0
- package/python3.4.2/lib/python3.4/test/185test.db +0 -0
- package/python3.4.2/lib/python3.4/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.4.2/lib/python3.4/test/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/test/__main__.py +3 -0
- package/python3.4.2/lib/python3.4/test/_test_multiprocessing.py +3841 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-alaw.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiotest.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiotests.py +329 -0
- package/python3.4.2/lib/python3.4/test/autotest.py +6 -0
- package/python3.4.2/lib/python3.4/test/bad_coding.py +1 -0
- package/python3.4.2/lib/python3.4/test/bad_coding2.py +2 -0
- package/python3.4.2/lib/python3.4/test/badcert.pem +36 -0
- package/python3.4.2/lib/python3.4/test/badkey.pem +40 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_3131.py +2 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future10.py +3 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future3.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future4.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future5.py +12 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future6.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future7.py +11 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future8.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future9.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_pep3120.py +1 -0
- package/python3.4.2/lib/python3.4/test/buffer_tests.py +218 -0
- package/python3.4.2/lib/python3.4/test/bytecode_helper.py +41 -0
- package/python3.4.2/lib/python3.4/test/capath/4e1295a3.0 +14 -0
- package/python3.4.2/lib/python3.4/test/capath/5ed36f99.0 +41 -0
- package/python3.4.2/lib/python3.4/test/capath/6e88d7b8.0 +14 -0
- package/python3.4.2/lib/python3.4/test/capath/99d0fa06.0 +41 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.1 +2 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.2 +537 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.3 +69 -0
- package/python3.4.2/lib/python3.4/test/check_soundcard.vbs +13 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs-utf8.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/cp949-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/cp949.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030-utf8.txt +15 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030.txt +15 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312-utf8.txt +6 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312.txt +6 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gbk-utf8.txt +14 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gbk.txt +14 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/hz-utf8.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/hz.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/johab-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/johab.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cmath_testcases.txt +2370 -0
- package/python3.4.2/lib/python3.4/test/coding20731.py +4 -0
- package/python3.4.2/lib/python3.4/test/curses_tests.py +46 -0
- package/python3.4.2/lib/python3.4/test/data/README +2 -0
- package/python3.4.2/lib/python3.4/test/datetimetester.py +3786 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/abs.decTest +161 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/add.decTest +2716 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/and.decTest +338 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/base.decTest +1411 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/clamp.decTest +211 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/class.decTest +131 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/compare.decTest +758 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotal.decTest +798 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotmag.decTest +790 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copy.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copyabs.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copynegate.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copysign.decTest +177 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAbs.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAdd.decTest +1328 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAnd.decTest +347 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddBase.decTest +1104 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCanonical.decTest +357 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddClass.decTest +76 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompare.decTest +744 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareSig.decTest +647 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotal.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopy.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyAbs.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyNegate.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopySign.decTest +175 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivide.decTest +863 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivideInt.decTest +449 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddEncode.decTest +495 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddFMA.decTest +1698 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddInvert.decTest +202 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddLogB.decTest +159 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMax.decTest +322 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMaxMag.decTest +304 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMin.decTest +309 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinMag.decTest +293 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMultiply.decTest +553 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextMinus.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextPlus.decTest +124 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextToward.decTest +374 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddOr.decTest +292 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddPlus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddQuantize.decTest +833 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddReduce.decTest +182 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainder.decTest +600 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainderNear.decTest +629 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRotate.decTest +262 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSameQuantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddScaleB.decTest +243 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddShift.decTest +262 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSubtract.decTest +629 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddToIntegral.decTest +257 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddXor.decTest +337 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decDouble.decTest +65 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decQuad.decTest +65 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decSingle.decTest +25 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/divide.decTest +854 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/divideint.decTest +486 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAbs.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAdd.decTest +1215 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAnd.decTest +420 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqBase.decTest +1081 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCanonical.decTest +372 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqClass.decTest +77 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompare.decTest +753 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareSig.decTest +647 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotal.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopy.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyAbs.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyNegate.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopySign.decTest +175 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivide.decTest +808 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivideInt.decTest +453 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqEncode.decTest +477 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqFMA.decTest +1786 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqInvert.decTest +245 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqLogB.decTest +160 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMax.decTest +322 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMaxMag.decTest +304 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMin.decTest +309 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinMag.decTest +293 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMultiply.decTest +589 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextMinus.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextPlus.decTest +124 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextToward.decTest +375 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqOr.decTest +401 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqPlus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqQuantize.decTest +836 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqReduce.decTest +183 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainder.decTest +597 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainderNear.decTest +631 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRotate.decTest +298 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSameQuantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqScaleB.decTest +260 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqShift.decTest +298 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSubtract.decTest +635 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqToIntegral.decTest +257 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqXor.decTest +410 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dsBase.decTest +1062 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dsEncode.decTest +372 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/exp.decTest +674 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/extra.decTest +2830 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/fma.decTest +3426 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/inexact.decTest +215 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/invert.decTest +176 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ln.decTest +611 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/log10.decTest +551 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/logb.decTest +188 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/max.decTest +424 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/maxmag.decTest +404 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/min.decTest +407 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/minmag.decTest +390 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/minus.decTest +182 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/multiply.decTest +731 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nextminus.decTest +148 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nextplus.decTest +150 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nexttoward.decTest +426 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/or.decTest +334 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/plus.decTest +195 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/power.decTest +1624 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/powersqrt.decTest +2970 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/quantize.decTest +948 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/randomBound32.decTest +2443 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/randoms.decTest +4030 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/reduce.decTest +234 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/remainder.decTest +640 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/remainderNear.decTest +572 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rescale.decTest +764 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rotate.decTest +247 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rounding.decTest +1303 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/samequantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/scaleb.decTest +209 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/shift.decTest +250 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/squareroot.decTest +3834 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/subtract.decTest +873 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/testall.decTest +87 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegral.decTest +241 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegralx.decTest +255 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/xor.decTest +335 -0
- package/python3.4.2/lib/python3.4/test/dh512.pem +9 -0
- package/python3.4.2/lib/python3.4/test/dis_module.py +5 -0
- package/python3.4.2/lib/python3.4/test/doctest_aliases.py +13 -0
- package/python3.4.2/lib/python3.4/test/double_const.py +30 -0
- package/python3.4.2/lib/python3.4/test/empty.vbs +1 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/module_iso_8859_1.py +5 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/module_koi8_r.py +3 -0
- package/python3.4.2/lib/python3.4/test/exception_hierarchy.txt +61 -0
- package/python3.4.2/lib/python3.4/test/final_a.py +19 -0
- package/python3.4.2/lib/python3.4/test/final_b.py +19 -0
- package/python3.4.2/lib/python3.4/test/floating_points.txt +1028 -0
- package/python3.4.2/lib/python3.4/test/fork_wait.py +77 -0
- package/python3.4.2/lib/python3.4/test/formatfloat_testcases.txt +355 -0
- package/python3.4.2/lib/python3.4/test/future_test1.py +11 -0
- package/python3.4.2/lib/python3.4/test/future_test2.py +10 -0
- package/python3.4.2/lib/python3.4/test/gdb_sample.py +12 -0
- package/python3.4.2/lib/python3.4/test/https_svn_python_org_root.pem +41 -0
- package/python3.4.2/lib/python3.4/test/ieee754.txt +185 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.bmp +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.gif +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.jpg +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.pbm +3 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.pgm +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.png +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.ppm +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.ras +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.sgi +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.tiff +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.xbm +6 -0
- package/python3.4.2/lib/python3.4/test/inspect_fodder.py +58 -0
- package/python3.4.2/lib/python3.4/test/inspect_fodder2.py +111 -0
- package/python3.4.2/lib/python3.4/test/keycert.passwd.pem +33 -0
- package/python3.4.2/lib/python3.4/test/keycert.pem +31 -0
- package/python3.4.2/lib/python3.4/test/keycert2.pem +31 -0
- package/python3.4.2/lib/python3.4/test/keycert3.pem +73 -0
- package/python3.4.2/lib/python3.4/test/keycert4.pem +73 -0
- package/python3.4.2/lib/python3.4/test/list_tests.py +585 -0
- package/python3.4.2/lib/python3.4/test/lock_tests.py +896 -0
- package/python3.4.2/lib/python3.4/test/mailcap.txt +39 -0
- package/python3.4.2/lib/python3.4/test/make_ssl_certs.py +176 -0
- package/python3.4.2/lib/python3.4/test/mapping_tests.py +657 -0
- package/python3.4.2/lib/python3.4/test/math_testcases.txt +633 -0
- package/python3.4.2/lib/python3.4/test/memory_watchdog.py +28 -0
- package/python3.4.2/lib/python3.4/test/mime.types +1445 -0
- package/python3.4.2/lib/python3.4/test/mock_socket.py +156 -0
- package/python3.4.2/lib/python3.4/test/mp_fork_bomb.py +18 -0
- package/python3.4.2/lib/python3.4/test/multibytecodec_support.py +377 -0
- package/python3.4.2/lib/python3.4/test/nokia.pem +31 -0
- package/python3.4.2/lib/python3.4/test/nullbytecert.pem +90 -0
- package/python3.4.2/lib/python3.4/test/nullcert.pem +0 -0
- package/python3.4.2/lib/python3.4/test/outstanding_bugs.py +18 -0
- package/python3.4.2/lib/python3.4/test/pickletester.py +2253 -0
- package/python3.4.2/lib/python3.4/test/profilee.py +115 -0
- package/python3.4.2/lib/python3.4/test/pstats.pck +0 -0
- package/python3.4.2/lib/python3.4/test/pycacert.pem +78 -0
- package/python3.4.2/lib/python3.4/test/pycakey.pem +28 -0
- package/python3.4.2/lib/python3.4/test/pyclbr_input.py +33 -0
- package/python3.4.2/lib/python3.4/test/pydoc_mod.py +37 -0
- package/python3.4.2/lib/python3.4/test/pydocfodder.py +216 -0
- package/python3.4.2/lib/python3.4/test/pystone.py +277 -0
- package/python3.4.2/lib/python3.4/test/randv2_32.pck +633 -0
- package/python3.4.2/lib/python3.4/test/randv2_64.pck +633 -0
- package/python3.4.2/lib/python3.4/test/randv3.pck +633 -0
- package/python3.4.2/lib/python3.4/test/re_tests.py +670 -0
- package/python3.4.2/lib/python3.4/test/regrtest.py +1589 -0
- package/python3.4.2/lib/python3.4/test/relimport.py +1 -0
- package/python3.4.2/lib/python3.4/test/reperf.py +23 -0
- package/python3.4.2/lib/python3.4/test/revocation.crl +11 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest.py +76 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest_no_docstrings.py +12 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest_no_doctests.py +15 -0
- package/python3.4.2/lib/python3.4/test/script_helper.py +178 -0
- package/python3.4.2/lib/python3.4/test/seq_tests.py +397 -0
- package/python3.4.2/lib/python3.4/test/sgml_input.html +212 -0
- package/python3.4.2/lib/python3.4/test/sha256.pem +128 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/README +12 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.8svx +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.au +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.hcom +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.sndt +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.voc +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.wav +0 -0
- package/python3.4.2/lib/python3.4/test/sortperf.py +169 -0
- package/python3.4.2/lib/python3.4/test/ssl_cert.pem +15 -0
- package/python3.4.2/lib/python3.4/test/ssl_key.passwd.pem +18 -0
- package/python3.4.2/lib/python3.4/test/ssl_key.pem +16 -0
- package/python3.4.2/lib/python3.4/test/ssl_servers.py +205 -0
- package/python3.4.2/lib/python3.4/test/ssltests.py +22 -0
- package/python3.4.2/lib/python3.4/test/string_tests.py +1385 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/fd_status.py +34 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/input_reader.py +7 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/qcat.py +7 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/qgrep.py +10 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/sigchild_ignore.py +15 -0
- package/python3.4.2/lib/python3.4/test/support/__init__.py +2241 -0
- package/python3.4.2/lib/python3.4/test/test___all__.py +117 -0
- package/python3.4.2/lib/python3.4/test/test___future__.py +65 -0
- package/python3.4.2/lib/python3.4/test/test__locale.py +170 -0
- package/python3.4.2/lib/python3.4/test/test__opcode.py +23 -0
- package/python3.4.2/lib/python3.4/test/test__osx_support.py +281 -0
- package/python3.4.2/lib/python3.4/test/test_abc.py +408 -0
- package/python3.4.2/lib/python3.4/test/test_abstract_numbers.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_aifc.py +384 -0
- package/python3.4.2/lib/python3.4/test/test_argparse.py +4979 -0
- package/python3.4.2/lib/python3.4/test/test_array.py +1323 -0
- package/python3.4.2/lib/python3.4/test/test_ast.py +1038 -0
- package/python3.4.2/lib/python3.4/test/test_asynchat.py +333 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/__init__.py +10 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo.py +8 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo2.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo3.py +11 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/keycert3.pem +73 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/pycacert.pem +78 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_cert.pem +15 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_key.pem +16 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_base_events.py +1064 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_events.py +2240 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_futures.py +442 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_locks.py +858 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_proactor_events.py +492 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_queues.py +476 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_selector_events.py +1737 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_streams.py +628 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_subprocess.py +217 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_tasks.py +1977 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_transports.py +90 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_unix_events.py +1582 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_events.py +141 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_utils.py +171 -0
- package/python3.4.2/lib/python3.4/test/test_asyncore.py +859 -0
- package/python3.4.2/lib/python3.4/test/test_atexit.py +185 -0
- package/python3.4.2/lib/python3.4/test/test_audioop.py +534 -0
- package/python3.4.2/lib/python3.4/test/test_augassign.py +315 -0
- package/python3.4.2/lib/python3.4/test/test_base64.py +666 -0
- package/python3.4.2/lib/python3.4/test/test_bigaddrspace.py +101 -0
- package/python3.4.2/lib/python3.4/test/test_bigmem.py +1257 -0
- package/python3.4.2/lib/python3.4/test/test_binascii.py +270 -0
- package/python3.4.2/lib/python3.4/test/test_binhex.py +56 -0
- package/python3.4.2/lib/python3.4/test/test_binop.py +380 -0
- package/python3.4.2/lib/python3.4/test/test_bisect.py +328 -0
- package/python3.4.2/lib/python3.4/test/test_bool.py +347 -0
- package/python3.4.2/lib/python3.4/test/test_buffer.py +4294 -0
- package/python3.4.2/lib/python3.4/test/test_bufio.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_builtin.py +1637 -0
- package/python3.4.2/lib/python3.4/test/test_bytes.py +1433 -0
- package/python3.4.2/lib/python3.4/test/test_bz2.py +880 -0
- package/python3.4.2/lib/python3.4/test/test_calendar.py +714 -0
- package/python3.4.2/lib/python3.4/test/test_call.py +131 -0
- package/python3.4.2/lib/python3.4/test/test_capi.py +469 -0
- package/python3.4.2/lib/python3.4/test/test_cgi.py +489 -0
- package/python3.4.2/lib/python3.4/test/test_cgitb.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_charmapcodec.py +56 -0
- package/python3.4.2/lib/python3.4/test/test_class.py +552 -0
- package/python3.4.2/lib/python3.4/test/test_cmath.py +536 -0
- package/python3.4.2/lib/python3.4/test/test_cmd.py +243 -0
- package/python3.4.2/lib/python3.4/test/test_cmd_line.py +473 -0
- package/python3.4.2/lib/python3.4/test/test_cmd_line_script.py +481 -0
- package/python3.4.2/lib/python3.4/test/test_code.py +170 -0
- package/python3.4.2/lib/python3.4/test/test_code_module.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_codeccallbacks.py +880 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_cn.py +90 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_hk.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_iso2022.py +45 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_jp.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_kr.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_tw.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_cn.py +29 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_hk.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_jp.py +63 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_kr.py +40 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_tw.py +30 -0
- package/python3.4.2/lib/python3.4/test/test_codecs.py +2901 -0
- package/python3.4.2/lib/python3.4/test/test_codeop.py +304 -0
- package/python3.4.2/lib/python3.4/test/test_collections.py +1552 -0
- package/python3.4.2/lib/python3.4/test/test_colorsys.py +100 -0
- package/python3.4.2/lib/python3.4/test/test_compare.py +67 -0
- package/python3.4.2/lib/python3.4/test/test_compile.py +561 -0
- package/python3.4.2/lib/python3.4/test/test_compileall.py +384 -0
- package/python3.4.2/lib/python3.4/test/test_complex.py +638 -0
- package/python3.4.2/lib/python3.4/test/test_concurrent_futures.py +685 -0
- package/python3.4.2/lib/python3.4/test/test_configparser.py +1768 -0
- package/python3.4.2/lib/python3.4/test/test_contains.py +93 -0
- package/python3.4.2/lib/python3.4/test/test_contextlib.py +828 -0
- package/python3.4.2/lib/python3.4/test/test_copy.py +759 -0
- package/python3.4.2/lib/python3.4/test/test_copyreg.py +121 -0
- package/python3.4.2/lib/python3.4/test/test_cprofile.py +98 -0
- package/python3.4.2/lib/python3.4/test/test_crashers.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_crypt.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_csv.py +1074 -0
- package/python3.4.2/lib/python3.4/test/test_ctypes.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_curses.py +395 -0
- package/python3.4.2/lib/python3.4/test/test_datetime.py +48 -0
- package/python3.4.2/lib/python3.4/test/test_dbm.py +193 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_dumb.py +228 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_gnu.py +97 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_ndbm.py +54 -0
- package/python3.4.2/lib/python3.4/test/test_decimal.py +5504 -0
- package/python3.4.2/lib/python3.4/test/test_decorators.py +309 -0
- package/python3.4.2/lib/python3.4/test/test_defaultdict.py +190 -0
- package/python3.4.2/lib/python3.4/test/test_deque.py +817 -0
- package/python3.4.2/lib/python3.4/test/test_descr.py +5006 -0
- package/python3.4.2/lib/python3.4/test/test_descrtut.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_devpoll.py +146 -0
- package/python3.4.2/lib/python3.4/test/test_dict.py +928 -0
- package/python3.4.2/lib/python3.4/test/test_dictcomps.py +88 -0
- package/python3.4.2/lib/python3.4/test/test_dictviews.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_difflib.py +298 -0
- package/python3.4.2/lib/python3.4/test/test_difflib_expect.html +526 -0
- package/python3.4.2/lib/python3.4/test/test_dis.py +832 -0
- package/python3.4.2/lib/python3.4/test/test_distutils.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_doctest.py +2921 -0
- package/python3.4.2/lib/python3.4/test/test_doctest.txt +17 -0
- package/python3.4.2/lib/python3.4/test/test_doctest2.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_doctest2.txt +14 -0
- package/python3.4.2/lib/python3.4/test/test_doctest3.txt +5 -0
- package/python3.4.2/lib/python3.4/test/test_doctest4.txt +11 -0
- package/python3.4.2/lib/python3.4/test/test_docxmlrpc.py +219 -0
- package/python3.4.2/lib/python3.4/test/test_dummy_thread.py +182 -0
- package/python3.4.2/lib/python3.4/test/test_dummy_threading.py +64 -0
- package/python3.4.2/lib/python3.4/test/test_dynamic.py +143 -0
- package/python3.4.2/lib/python3.4/test/test_dynamicclassattribute.py +304 -0
- package/python3.4.2/lib/python3.4/test/test_email/__init__.py +159 -0
- package/python3.4.2/lib/python3.4/test/test_email/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/PyBanner048.gif +0 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/audiotest.au +0 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_01.txt +19 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_02.txt +136 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_03.txt +16 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_04.txt +37 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_05.txt +28 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_06.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_07.txt +83 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_08.txt +24 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_09.txt +24 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_10.txt +39 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_11.txt +7 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_12.txt +36 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_12a.txt +38 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_13.txt +94 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_14.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_15.txt +52 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_16.txt +123 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_17.txt +12 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_18.txt +6 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_19.txt +43 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_20.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_21.txt +20 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_22.txt +46 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_23.txt +8 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_24.txt +10 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_25.txt +117 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_26.txt +46 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_27.txt +15 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_28.txt +25 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_29.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_30.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_31.txt +15 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_32.txt +14 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_33.txt +29 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_34.txt +19 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_35.txt +4 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_36.txt +40 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_37.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_38.txt +101 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_39.txt +83 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_40.txt +10 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_41.txt +8 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_42.txt +20 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_43.txt +217 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_44.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_45.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_46.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/test__encoded_words.py +192 -0
- package/python3.4.2/lib/python3.4/test/test_email/test__header_value_parser.py +2606 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_asian_codecs.py +82 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_contentmanager.py +796 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_defect_handling.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_email.py +5289 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_generator.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_headerregistry.py +1594 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_inversion.py +49 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_message.py +783 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_parser.py +36 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_pickleable.py +74 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_policy.py +332 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_utils.py +140 -0
- package/python3.4.2/lib/python3.4/test/test_email/torture_test.py +136 -0
- package/python3.4.2/lib/python3.4/test/test_ensurepip.py +345 -0
- package/python3.4.2/lib/python3.4/test/test_enum.py +1592 -0
- package/python3.4.2/lib/python3.4/test/test_enumerate.py +272 -0
- package/python3.4.2/lib/python3.4/test/test_eof.py +31 -0
- package/python3.4.2/lib/python3.4/test/test_epoll.py +259 -0
- package/python3.4.2/lib/python3.4/test/test_errno.py +40 -0
- package/python3.4.2/lib/python3.4/test/test_exception_variations.py +180 -0
- package/python3.4.2/lib/python3.4/test/test_exceptions.py +978 -0
- package/python3.4.2/lib/python3.4/test/test_extcall.py +349 -0
- package/python3.4.2/lib/python3.4/test/test_faulthandler.py +623 -0
- package/python3.4.2/lib/python3.4/test/test_fcntl.py +152 -0
- package/python3.4.2/lib/python3.4/test/test_file.py +329 -0
- package/python3.4.2/lib/python3.4/test/test_file_eintr.py +236 -0
- package/python3.4.2/lib/python3.4/test/test_filecmp.py +217 -0
- package/python3.4.2/lib/python3.4/test/test_fileinput.py +891 -0
- package/python3.4.2/lib/python3.4/test/test_fileio.py +480 -0
- package/python3.4.2/lib/python3.4/test/test_finalization.py +522 -0
- package/python3.4.2/lib/python3.4/test/test_float.py +1312 -0
- package/python3.4.2/lib/python3.4/test/test_flufl.py +27 -0
- package/python3.4.2/lib/python3.4/test/test_fnmatch.py +89 -0
- package/python3.4.2/lib/python3.4/test/test_fork1.py +111 -0
- package/python3.4.2/lib/python3.4/test/test_format.py +362 -0
- package/python3.4.2/lib/python3.4/test/test_fractions.py +612 -0
- package/python3.4.2/lib/python3.4/test/test_frame.py +168 -0
- package/python3.4.2/lib/python3.4/test/test_ftplib.py +1080 -0
- package/python3.4.2/lib/python3.4/test/test_funcattrs.py +385 -0
- package/python3.4.2/lib/python3.4/test/test_functools.py +1584 -0
- package/python3.4.2/lib/python3.4/test/test_future.py +125 -0
- package/python3.4.2/lib/python3.4/test/test_future3.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_future4.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_future5.py +21 -0
- package/python3.4.2/lib/python3.4/test/test_gc.py +1013 -0
- package/python3.4.2/lib/python3.4/test/test_gdb.py +870 -0
- package/python3.4.2/lib/python3.4/test/test_generators.py +1940 -0
- package/python3.4.2/lib/python3.4/test/test_genericpath.py +439 -0
- package/python3.4.2/lib/python3.4/test/test_genexps.py +285 -0
- package/python3.4.2/lib/python3.4/test/test_getargs2.py +615 -0
- package/python3.4.2/lib/python3.4/test/test_getopt.py +187 -0
- package/python3.4.2/lib/python3.4/test/test_getpass.py +163 -0
- package/python3.4.2/lib/python3.4/test/test_gettext.py +467 -0
- package/python3.4.2/lib/python3.4/test/test_glob.py +200 -0
- package/python3.4.2/lib/python3.4/test/test_global.py +61 -0
- package/python3.4.2/lib/python3.4/test/test_grammar.py +1024 -0
- package/python3.4.2/lib/python3.4/test/test_grp.py +99 -0
- package/python3.4.2/lib/python3.4/test/test_gzip.py +561 -0
- package/python3.4.2/lib/python3.4/test/test_hash.py +346 -0
- package/python3.4.2/lib/python3.4/test/test_hashlib.py +533 -0
- package/python3.4.2/lib/python3.4/test/test_heapq.py +417 -0
- package/python3.4.2/lib/python3.4/test/test_hmac.py +506 -0
- package/python3.4.2/lib/python3.4/test/test_html.py +104 -0
- package/python3.4.2/lib/python3.4/test/test_htmlparser.py +832 -0
- package/python3.4.2/lib/python3.4/test/test_http_cookiejar.py +1714 -0
- package/python3.4.2/lib/python3.4/test/test_http_cookies.py +243 -0
- package/python3.4.2/lib/python3.4/test/test_httplib.py +1025 -0
- package/python3.4.2/lib/python3.4/test/test_httpservers.py +770 -0
- package/python3.4.2/lib/python3.4/test/test_idle.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_imaplib.py +504 -0
- package/python3.4.2/lib/python3.4/test/test_imghdr.py +131 -0
- package/python3.4.2/lib/python3.4/test/test_imp.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_import.py +1072 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/abc.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_finder.py +85 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_loader.py +106 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/util.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_case_sensitivity.py +51 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_finder.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_loader.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_path_hook.py +32 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/util.py +19 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_finder.py +80 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_loader.py +222 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___loader__.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___package__.py +133 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_api.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_caching.py +92 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_fromlist.py +129 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_meta_path.py +119 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_packages.py +110 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_path.py +144 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_relative_imports.py +216 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/util.py +20 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/regrtest.py +17 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_case_sensitivity.py +83 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_file_loader.py +588 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_finder.py +232 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_path_hook.py +30 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_source_encoding.py +165 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/util.py +96 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_abc.py +951 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_api.py +437 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_locks.py +156 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_namespace_pkgs.py +293 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_spec.py +957 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_util.py +592 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_windows.py +29 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/util.py +225 -0
- package/python3.4.2/lib/python3.4/test/test_index.py +275 -0
- package/python3.4.2/lib/python3.4/test/test_inspect.py +3103 -0
- package/python3.4.2/lib/python3.4/test/test_int.py +458 -0
- package/python3.4.2/lib/python3.4/test/test_int_literal.py +147 -0
- package/python3.4.2/lib/python3.4/test/test_io.py +3481 -0
- package/python3.4.2/lib/python3.4/test/test_ioctl.py +91 -0
- package/python3.4.2/lib/python3.4/test/test_ipaddress.py +1693 -0
- package/python3.4.2/lib/python3.4/test/test_isinstance.py +289 -0
- package/python3.4.2/lib/python3.4/test/test_iter.py +927 -0
- package/python3.4.2/lib/python3.4/test/test_iterlen.py +229 -0
- package/python3.4.2/lib/python3.4/test/test_itertools.py +2142 -0
- package/python3.4.2/lib/python3.4/test/test_json/__init__.py +53 -0
- package/python3.4.2/lib/python3.4/test/test_json/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_decode.py +99 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_default.py +12 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_dump.py +49 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_encode_basestring_ascii.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_enum.py +120 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_fail.py +194 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_float.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_indent.py +67 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass1.py +75 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass2.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass3.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_recursion.py +100 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_scanstring.py +141 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_separators.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_speedups.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_tool.py +69 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_unicode.py +75 -0
- package/python3.4.2/lib/python3.4/test/test_keyword.py +138 -0
- package/python3.4.2/lib/python3.4/test/test_keywordonlyarg.py +193 -0
- package/python3.4.2/lib/python3.4/test/test_kqueue.py +219 -0
- package/python3.4.2/lib/python3.4/test/test_largefile.py +180 -0
- package/python3.4.2/lib/python3.4/test/test_lib2to3.py +22 -0
- package/python3.4.2/lib/python3.4/test/test_linecache.py +133 -0
- package/python3.4.2/lib/python3.4/test/test_list.py +125 -0
- package/python3.4.2/lib/python3.4/test/test_listcomps.py +148 -0
- package/python3.4.2/lib/python3.4/test/test_locale.py +528 -0
- package/python3.4.2/lib/python3.4/test/test_logging.py +4179 -0
- package/python3.4.2/lib/python3.4/test/test_long.py +1250 -0
- package/python3.4.2/lib/python3.4/test/test_longexp.py +14 -0
- package/python3.4.2/lib/python3.4/test/test_lzma.py +1592 -0
- package/python3.4.2/lib/python3.4/test/test_macpath.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_macurl2path.py +31 -0
- package/python3.4.2/lib/python3.4/test/test_mailbox.py +2287 -0
- package/python3.4.2/lib/python3.4/test/test_mailcap.py +221 -0
- package/python3.4.2/lib/python3.4/test/test_marshal.py +451 -0
- package/python3.4.2/lib/python3.4/test/test_math.py +1107 -0
- package/python3.4.2/lib/python3.4/test/test_memoryio.py +784 -0
- package/python3.4.2/lib/python3.4/test/test_memoryview.py +478 -0
- package/python3.4.2/lib/python3.4/test/test_metaclass.py +265 -0
- package/python3.4.2/lib/python3.4/test/test_mimetypes.py +111 -0
- package/python3.4.2/lib/python3.4/test/test_minidom.py +1545 -0
- package/python3.4.2/lib/python3.4/test/test_mmap.py +774 -0
- package/python3.4.2/lib/python3.4/test/test_module.py +222 -0
- package/python3.4.2/lib/python3.4/test/test_modulefinder.py +324 -0
- package/python3.4.2/lib/python3.4/test/test_msilib.py +46 -0
- package/python3.4.2/lib/python3.4/test/test_multibytecodec.py +263 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_fork.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_forkserver.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_main_handling.py +289 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_spawn.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_netrc.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_nis.py +43 -0
- package/python3.4.2/lib/python3.4/test/test_nntplib.py +1429 -0
- package/python3.4.2/lib/python3.4/test/test_normalization.py +104 -0
- package/python3.4.2/lib/python3.4/test/test_ntpath.py +385 -0
- package/python3.4.2/lib/python3.4/test/test_numeric_tower.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_opcodes.py +112 -0
- package/python3.4.2/lib/python3.4/test/test_openpty.py +25 -0
- package/python3.4.2/lib/python3.4/test/test_operator.py +484 -0
- package/python3.4.2/lib/python3.4/test/test_optparse.py +1657 -0
- package/python3.4.2/lib/python3.4/test/test_os.py +2550 -0
- package/python3.4.2/lib/python3.4/test/test_ossaudiodev.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_osx_env.py +34 -0
- package/python3.4.2/lib/python3.4/test/test_parser.py +745 -0
- package/python3.4.2/lib/python3.4/test/test_pathlib.py +1884 -0
- package/python3.4.2/lib/python3.4/test/test_pdb.py +1052 -0
- package/python3.4.2/lib/python3.4/test/test_peepholer.py +339 -0
- package/python3.4.2/lib/python3.4/test/test_pep247.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_pep277.py +201 -0
- package/python3.4.2/lib/python3.4/test/test_pep292.py +247 -0
- package/python3.4.2/lib/python3.4/test/test_pep3120.py +47 -0
- package/python3.4.2/lib/python3.4/test/test_pep3131.py +35 -0
- package/python3.4.2/lib/python3.4/test/test_pep3151.py +209 -0
- package/python3.4.2/lib/python3.4/test/test_pep352.py +184 -0
- package/python3.4.2/lib/python3.4/test/test_pep380.py +1023 -0
- package/python3.4.2/lib/python3.4/test/test_pickle.py +156 -0
- package/python3.4.2/lib/python3.4/test/test_pickletools.py +25 -0
- package/python3.4.2/lib/python3.4/test/test_pipes.py +196 -0
- package/python3.4.2/lib/python3.4/test/test_pkg.py +299 -0
- package/python3.4.2/lib/python3.4/test/test_pkgimport.py +84 -0
- package/python3.4.2/lib/python3.4/test/test_pkgutil.py +410 -0
- package/python3.4.2/lib/python3.4/test/test_platform.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_plistlib.py +526 -0
- package/python3.4.2/lib/python3.4/test/test_poll.py +215 -0
- package/python3.4.2/lib/python3.4/test/test_popen.py +64 -0
- package/python3.4.2/lib/python3.4/test/test_poplib.py +507 -0
- package/python3.4.2/lib/python3.4/test/test_posix.py +1183 -0
- package/python3.4.2/lib/python3.4/test/test_posixpath.py +544 -0
- package/python3.4.2/lib/python3.4/test/test_pow.py +129 -0
- package/python3.4.2/lib/python3.4/test/test_pprint.py +602 -0
- package/python3.4.2/lib/python3.4/test/test_print.py +132 -0
- package/python3.4.2/lib/python3.4/test/test_profile.py +187 -0
- package/python3.4.2/lib/python3.4/test/test_property.py +254 -0
- package/python3.4.2/lib/python3.4/test/test_pstats.py +45 -0
- package/python3.4.2/lib/python3.4/test/test_pty.py +302 -0
- package/python3.4.2/lib/python3.4/test/test_pulldom.py +347 -0
- package/python3.4.2/lib/python3.4/test/test_pwd.py +114 -0
- package/python3.4.2/lib/python3.4/test/test_py_compile.py +103 -0
- package/python3.4.2/lib/python3.4/test/test_pyclbr.py +181 -0
- package/python3.4.2/lib/python3.4/test/test_pydoc.py +1003 -0
- package/python3.4.2/lib/python3.4/test/test_pyexpat.py +708 -0
- package/python3.4.2/lib/python3.4/test/test_queue.py +363 -0
- package/python3.4.2/lib/python3.4/test/test_quopri.py +208 -0
- package/python3.4.2/lib/python3.4/test/test_raise.py +422 -0
- package/python3.4.2/lib/python3.4/test/test_random.py +759 -0
- package/python3.4.2/lib/python3.4/test/test_range.py +652 -0
- package/python3.4.2/lib/python3.4/test/test_re.py +1451 -0
- package/python3.4.2/lib/python3.4/test/test_readline.py +60 -0
- package/python3.4.2/lib/python3.4/test/test_regrtest.py +275 -0
- package/python3.4.2/lib/python3.4/test/test_reprlib.py +383 -0
- package/python3.4.2/lib/python3.4/test/test_resource.py +166 -0
- package/python3.4.2/lib/python3.4/test/test_richcmp.py +333 -0
- package/python3.4.2/lib/python3.4/test/test_rlcompleter.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_robotparser.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_runpy.py +691 -0
- package/python3.4.2/lib/python3.4/test/test_sax.py +1007 -0
- package/python3.4.2/lib/python3.4/test/test_sched.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_scope.py +764 -0
- package/python3.4.2/lib/python3.4/test/test_select.py +83 -0
- package/python3.4.2/lib/python3.4/test/test_selectors.py +453 -0
- package/python3.4.2/lib/python3.4/test/test_set.py +1839 -0
- package/python3.4.2/lib/python3.4/test/test_setcomps.py +151 -0
- package/python3.4.2/lib/python3.4/test/test_shelve.py +224 -0
- package/python3.4.2/lib/python3.4/test/test_shlex.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_shutil.py +1766 -0
- package/python3.4.2/lib/python3.4/test/test_signal.py +940 -0
- package/python3.4.2/lib/python3.4/test/test_site.py +468 -0
- package/python3.4.2/lib/python3.4/test/test_slice.py +247 -0
- package/python3.4.2/lib/python3.4/test/test_smtpd.py +557 -0
- package/python3.4.2/lib/python3.4/test/test_smtplib.py +950 -0
- package/python3.4.2/lib/python3.4/test/test_smtpnet.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_sndhdr.py +23 -0
- package/python3.4.2/lib/python3.4/test/test_socket.py +5163 -0
- package/python3.4.2/lib/python3.4/test/test_socketserver.py +314 -0
- package/python3.4.2/lib/python3.4/test/test_sort.py +285 -0
- package/python3.4.2/lib/python3.4/test/test_source_encoding.py +145 -0
- package/python3.4.2/lib/python3.4/test/test_spwd.py +60 -0
- package/python3.4.2/lib/python3.4/test/test_sqlite.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_ssl.py +2908 -0
- package/python3.4.2/lib/python3.4/test/test_startfile.py +37 -0
- package/python3.4.2/lib/python3.4/test/test_stat.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_statistics.py +1574 -0
- package/python3.4.2/lib/python3.4/test/test_strftime.py +204 -0
- package/python3.4.2/lib/python3.4/test/test_string.py +174 -0
- package/python3.4.2/lib/python3.4/test/test_stringprep.py +96 -0
- package/python3.4.2/lib/python3.4/test/test_strlit.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_strptime.py +577 -0
- package/python3.4.2/lib/python3.4/test/test_strtod.py +436 -0
- package/python3.4.2/lib/python3.4/test/test_struct.py +667 -0
- package/python3.4.2/lib/python3.4/test/test_structmembers.py +147 -0
- package/python3.4.2/lib/python3.4/test/test_structseq.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_subprocess.py +2474 -0
- package/python3.4.2/lib/python3.4/test/test_sunau.py +122 -0
- package/python3.4.2/lib/python3.4/test/test_sundry.py +59 -0
- package/python3.4.2/lib/python3.4/test/test_super.py +181 -0
- package/python3.4.2/lib/python3.4/test/test_support.py +315 -0
- package/python3.4.2/lib/python3.4/test/test_symtable.py +176 -0
- package/python3.4.2/lib/python3.4/test/test_syntax.py +593 -0
- package/python3.4.2/lib/python3.4/test/test_sys.py +1000 -0
- package/python3.4.2/lib/python3.4/test/test_sys_setprofile.py +386 -0
- package/python3.4.2/lib/python3.4/test/test_sys_settrace.py +834 -0
- package/python3.4.2/lib/python3.4/test/test_sysconfig.py +423 -0
- package/python3.4.2/lib/python3.4/test/test_syslog.py +43 -0
- package/python3.4.2/lib/python3.4/test/test_tarfile.py +2180 -0
- package/python3.4.2/lib/python3.4/test/test_tcl.py +642 -0
- package/python3.4.2/lib/python3.4/test/test_telnetlib.py +401 -0
- package/python3.4.2/lib/python3.4/test/test_tempfile.py +1248 -0
- package/python3.4.2/lib/python3.4/test/test_textwrap.py +929 -0
- package/python3.4.2/lib/python3.4/test/test_thread.py +260 -0
- package/python3.4.2/lib/python3.4/test/test_threaded_import.py +244 -0
- package/python3.4.2/lib/python3.4/test/test_threadedtempfile.py +78 -0
- package/python3.4.2/lib/python3.4/test/test_threading.py +1021 -0
- package/python3.4.2/lib/python3.4/test/test_threading_local.py +225 -0
- package/python3.4.2/lib/python3.4/test/test_threadsignals.py +227 -0
- package/python3.4.2/lib/python3.4/test/test_time.py +763 -0
- package/python3.4.2/lib/python3.4/test/test_timeit.py +306 -0
- package/python3.4.2/lib/python3.4/test/test_timeout.py +303 -0
- package/python3.4.2/lib/python3.4/test/test_tk.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_tokenize.py +1233 -0
- package/python3.4.2/lib/python3.4/test/test_trace.py +415 -0
- package/python3.4.2/lib/python3.4/test/test_traceback.py +451 -0
- package/python3.4.2/lib/python3.4/test/test_tracemalloc.py +826 -0
- package/python3.4.2/lib/python3.4/test/test_ttk_guionly.py +37 -0
- package/python3.4.2/lib/python3.4/test/test_ttk_textonly.py +17 -0
- package/python3.4.2/lib/python3.4/test/test_tuple.py +208 -0
- package/python3.4.2/lib/python3.4/test/test_typechecks.py +76 -0
- package/python3.4.2/lib/python3.4/test/test_types.py +1178 -0
- package/python3.4.2/lib/python3.4/test/test_ucn.py +240 -0
- package/python3.4.2/lib/python3.4/test/test_unary.py +58 -0
- package/python3.4.2/lib/python3.4/test/test_unicode.py +2596 -0
- package/python3.4.2/lib/python3.4/test/test_unicode_file.py +144 -0
- package/python3.4.2/lib/python3.4/test/test_unicodedata.py +323 -0
- package/python3.4.2/lib/python3.4/test/test_unittest.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_univnewlines.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_unpack.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_unpack_ex.py +174 -0
- package/python3.4.2/lib/python3.4/test/test_urllib.py +1486 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2.py +1646 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2_localnet.py +690 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2net.py +342 -0
- package/python3.4.2/lib/python3.4/test/test_urllib_response.py +59 -0
- package/python3.4.2/lib/python3.4/test/test_urllibnet.py +212 -0
- package/python3.4.2/lib/python3.4/test/test_urlparse.py +879 -0
- package/python3.4.2/lib/python3.4/test/test_userdict.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_userlist.py +65 -0
- package/python3.4.2/lib/python3.4/test/test_userstring.py +47 -0
- package/python3.4.2/lib/python3.4/test/test_uu.py +239 -0
- package/python3.4.2/lib/python3.4/test/test_uuid.py +498 -0
- package/python3.4.2/lib/python3.4/test/test_venv.py +406 -0
- package/python3.4.2/lib/python3.4/test/test_wait3.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_wait4.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_warnings.py +873 -0
- package/python3.4.2/lib/python3.4/test/test_wave.py +107 -0
- package/python3.4.2/lib/python3.4/test/test_weakref.py +1801 -0
- package/python3.4.2/lib/python3.4/test/test_weakset.py +450 -0
- package/python3.4.2/lib/python3.4/test/test_webbrowser.py +192 -0
- package/python3.4.2/lib/python3.4/test/test_winreg.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_winsound.py +253 -0
- package/python3.4.2/lib/python3.4/test/test_with.py +750 -0
- package/python3.4.2/lib/python3.4/test/test_wsgiref.py +640 -0
- package/python3.4.2/lib/python3.4/test/test_xdrlib.py +58 -0
- package/python3.4.2/lib/python3.4/test/test_xml_dom_minicompat.py +101 -0
- package/python3.4.2/lib/python3.4/test/test_xml_etree.py +2587 -0
- package/python3.4.2/lib/python3.4/test/test_xml_etree_c.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_xmlrpc.py +1114 -0
- package/python3.4.2/lib/python3.4/test/test_xmlrpc_net.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_zipfile.py +1783 -0
- package/python3.4.2/lib/python3.4/test/test_zipfile64.py +118 -0
- package/python3.4.2/lib/python3.4/test/test_zipimport.py +507 -0
- package/python3.4.2/lib/python3.4/test/test_zipimport_support.py +246 -0
- package/python3.4.2/lib/python3.4/test/test_zlib.py +725 -0
- package/python3.4.2/lib/python3.4/test/testcodec.py +48 -0
- package/python3.4.2/lib/python3.4/test/testtar.tar +0 -0
- package/python3.4.2/lib/python3.4/test/tf_inherit_check.py +25 -0
- package/python3.4.2/lib/python3.4/test/threaded_import_hangers.py +45 -0
- package/python3.4.2/lib/python3.4/test/time_hashlib.py +87 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests.txt +189 -0
- package/python3.4.2/lib/python3.4/test/tracedmodules/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/test/tracedmodules/testmod.py +9 -0
- package/python3.4.2/lib/python3.4/test/warning_tests.py +9 -0
- package/python3.4.2/lib/python3.4/test/win_console_handler.py +49 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/simple-ns.xml +7 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/simple.xml +6 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml +115 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml.out +115 -0
- package/python3.4.2/lib/python3.4/test/xmltests.py +21 -0
- package/python3.4.2/lib/python3.4/test/zip_cp437_header.zip +0 -0
- package/python3.4.2/lib/python3.4/test/zipdir.zip +0 -0
- package/python3.4.2/lib/python3.4/textwrap.py +470 -0
- package/python3.4.2/lib/python3.4/this.py +28 -0
- package/python3.4.2/lib/python3.4/threading.py +1359 -0
- package/python3.4.2/lib/python3.4/timeit.py +322 -0
- package/python3.4.2/lib/python3.4/tkinter/__init__.py +3898 -0
- package/python3.4.2/lib/python3.4/tkinter/__main__.py +7 -0
- package/python3.4.2/lib/python3.4/tkinter/_fix.py +78 -0
- package/python3.4.2/lib/python3.4/tkinter/colorchooser.py +72 -0
- package/python3.4.2/lib/python3.4/tkinter/commondialog.py +60 -0
- package/python3.4.2/lib/python3.4/tkinter/constants.py +110 -0
- package/python3.4.2/lib/python3.4/tkinter/dialog.py +49 -0
- package/python3.4.2/lib/python3.4/tkinter/dnd.py +321 -0
- package/python3.4.2/lib/python3.4/tkinter/filedialog.py +479 -0
- package/python3.4.2/lib/python3.4/tkinter/font.py +234 -0
- package/python3.4.2/lib/python3.4/tkinter/messagebox.py +134 -0
- package/python3.4.2/lib/python3.4/tkinter/scrolledtext.py +54 -0
- package/python3.4.2/lib/python3.4/tkinter/simpledialog.py +423 -0
- package/python3.4.2/lib/python3.4/tkinter/test/README +14 -0
- package/python3.4.2/lib/python3.4/tkinter/test/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/runtktests.py +71 -0
- package/python3.4.2/lib/python3.4/tkinter/test/support.py +104 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_font.py +27 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_geometry_managers.py +900 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_images.py +327 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_loadtk.py +46 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_misc.py +42 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_text.py +47 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_variables.py +186 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py +1193 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_extensions.py +291 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_functions.py +462 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_style.py +92 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_widgets.py +1598 -0
- package/python3.4.2/lib/python3.4/tkinter/test/widget_tests.py +521 -0
- package/python3.4.2/lib/python3.4/tkinter/tix.py +1944 -0
- package/python3.4.2/lib/python3.4/tkinter/ttk.py +1616 -0
- package/python3.4.2/lib/python3.4/token.py +140 -0
- package/python3.4.2/lib/python3.4/tokenize.py +691 -0
- package/python3.4.2/lib/python3.4/trace.py +858 -0
- package/python3.4.2/lib/python3.4/traceback.py +313 -0
- package/python3.4.2/lib/python3.4/tracemalloc.py +487 -0
- package/python3.4.2/lib/python3.4/tty.py +36 -0
- package/python3.4.2/lib/python3.4/turtle.py +4140 -0
- package/python3.4.2/lib/python3.4/turtledemo/__init__.py +14 -0
- package/python3.4.2/lib/python3.4/turtledemo/__main__.py +380 -0
- package/python3.4.2/lib/python3.4/turtledemo/bytedesign.py +162 -0
- package/python3.4.2/lib/python3.4/turtledemo/chaos.py +59 -0
- package/python3.4.2/lib/python3.4/turtledemo/clock.py +132 -0
- package/python3.4.2/lib/python3.4/turtledemo/colormixer.py +58 -0
- package/python3.4.2/lib/python3.4/turtledemo/forest.py +108 -0
- package/python3.4.2/lib/python3.4/turtledemo/fractalcurves.py +138 -0
- package/python3.4.2/lib/python3.4/turtledemo/lindenmayer.py +119 -0
- package/python3.4.2/lib/python3.4/turtledemo/minimal_hanoi.py +79 -0
- package/python3.4.2/lib/python3.4/turtledemo/nim.py +226 -0
- package/python3.4.2/lib/python3.4/turtledemo/paint.py +54 -0
- package/python3.4.2/lib/python3.4/turtledemo/peace.py +61 -0
- package/python3.4.2/lib/python3.4/turtledemo/penrose.py +181 -0
- package/python3.4.2/lib/python3.4/turtledemo/planet_and_moon.py +112 -0
- package/python3.4.2/lib/python3.4/turtledemo/round_dance.py +86 -0
- package/python3.4.2/lib/python3.4/turtledemo/tree.py +63 -0
- package/python3.4.2/lib/python3.4/turtledemo/turtle.cfg +10 -0
- package/python3.4.2/lib/python3.4/turtledemo/two_canvases.py +54 -0
- package/python3.4.2/lib/python3.4/turtledemo/wikipedia.py +65 -0
- package/python3.4.2/lib/python3.4/turtledemo/yinyang.py +49 -0
- package/python3.4.2/lib/python3.4/types.py +158 -0
- package/python3.4.2/lib/python3.4/unittest/__init__.py +69 -0
- package/python3.4.2/lib/python3.4/unittest/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/case.py +1400 -0
- package/python3.4.2/lib/python3.4/unittest/loader.py +379 -0
- package/python3.4.2/lib/python3.4/unittest/main.py +248 -0
- package/python3.4.2/lib/python3.4/unittest/mock.py +2330 -0
- package/python3.4.2/lib/python3.4/unittest/result.py +212 -0
- package/python3.4.2/lib/python3.4/unittest/runner.py +213 -0
- package/python3.4.2/lib/python3.4/unittest/signals.py +71 -0
- package/python3.4.2/lib/python3.4/unittest/suite.py +324 -0
- package/python3.4.2/lib/python3.4/unittest/test/__init__.py +22 -0
- package/python3.4.2/lib/python3.4/unittest/test/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/test/_test_warnings.py +73 -0
- package/python3.4.2/lib/python3.4/unittest/test/dummy.py +1 -0
- package/python3.4.2/lib/python3.4/unittest/test/support.py +142 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_assertions.py +398 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_break.py +288 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_case.py +1574 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_discovery.py +527 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_functiontestcase.py +148 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_loader.py +1312 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_program.py +396 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_result.py +660 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_runner.py +346 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_setups.py +506 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_skipping.py +227 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_suite.py +447 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/support.py +23 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testcallable.py +151 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testhelpers.py +908 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testmagicmethods.py +428 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testmock.py +1412 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testpatch.py +1801 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testsentinel.py +28 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testwith.py +259 -0
- package/python3.4.2/lib/python3.4/unittest/util.py +177 -0
- package/python3.4.2/lib/python3.4/urllib/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/urllib/error.py +76 -0
- package/python3.4.2/lib/python3.4/urllib/parse.py +973 -0
- package/python3.4.2/lib/python3.4/urllib/request.py +2559 -0
- package/python3.4.2/lib/python3.4/urllib/response.py +76 -0
- package/python3.4.2/lib/python3.4/urllib/robotparser.py +212 -0
- package/python3.4.2/lib/python3.4/uu.py +199 -0
- package/python3.4.2/lib/python3.4/uuid.py +591 -0
- package/python3.4.2/lib/python3.4/venv/__init__.py +449 -0
- package/python3.4.2/lib/python3.4/venv/__main__.py +10 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate +76 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.csh +37 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.fish +74 -0
- package/python3.4.2/lib/python3.4/warnings.py +407 -0
- package/python3.4.2/lib/python3.4/wave.py +503 -0
- package/python3.4.2/lib/python3.4/weakref.py +577 -0
- package/python3.4.2/lib/python3.4/webbrowser.py +651 -0
- package/python3.4.2/lib/python3.4/wsgiref/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/wsgiref/handlers.py +547 -0
- package/python3.4.2/lib/python3.4/wsgiref/headers.py +184 -0
- package/python3.4.2/lib/python3.4/wsgiref/simple_server.py +165 -0
- package/python3.4.2/lib/python3.4/wsgiref/util.py +165 -0
- package/python3.4.2/lib/python3.4/wsgiref/validate.py +443 -0
- package/python3.4.2/lib/python3.4/xdrlib.py +224 -0
- package/python3.4.2/lib/python3.4/xml/__init__.py +20 -0
- package/python3.4.2/lib/python3.4/xml/dom/NodeFilter.py +27 -0
- package/python3.4.2/lib/python3.4/xml/dom/__init__.py +140 -0
- package/python3.4.2/lib/python3.4/xml/dom/domreg.py +97 -0
- package/python3.4.2/lib/python3.4/xml/dom/expatbuilder.py +965 -0
- package/python3.4.2/lib/python3.4/xml/dom/minicompat.py +109 -0
- package/python3.4.2/lib/python3.4/xml/dom/minidom.py +1983 -0
- package/python3.4.2/lib/python3.4/xml/dom/pulldom.py +342 -0
- package/python3.4.2/lib/python3.4/xml/dom/xmlbuilder.py +386 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementInclude.py +143 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementPath.py +308 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementTree.py +1667 -0
- package/python3.4.2/lib/python3.4/xml/etree/__init__.py +33 -0
- package/python3.4.2/lib/python3.4/xml/etree/cElementTree.py +3 -0
- package/python3.4.2/lib/python3.4/xml/parsers/__init__.py +8 -0
- package/python3.4.2/lib/python3.4/xml/parsers/expat.py +8 -0
- package/python3.4.2/lib/python3.4/xml/sax/__init__.py +105 -0
- package/python3.4.2/lib/python3.4/xml/sax/_exceptions.py +131 -0
- package/python3.4.2/lib/python3.4/xml/sax/expatreader.py +417 -0
- package/python3.4.2/lib/python3.4/xml/sax/handler.py +342 -0
- package/python3.4.2/lib/python3.4/xml/sax/saxutils.py +365 -0
- package/python3.4.2/lib/python3.4/xml/sax/xmlreader.py +378 -0
- package/python3.4.2/lib/python3.4/xmlrpc/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/xmlrpc/client.py +1479 -0
- package/python3.4.2/lib/python3.4/xmlrpc/server.py +986 -0
- package/python3.4.2/lib/python3.4/zipfile.py +1788 -0
- package/python3.4.2/share/man/man1/python3.1 +460 -0
- package/python3.4.2/share/man/man1/python3.4.1 +460 -0
|
@@ -0,0 +1,1915 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Easy Install
|
|
5
|
+
------------
|
|
6
|
+
|
|
7
|
+
A tool for doing automatic download/extract/build of distutils-based Python
|
|
8
|
+
packages. For detailed documentation, see the accompanying EasyInstall.txt
|
|
9
|
+
file, or visit the `EasyInstall home page`__.
|
|
10
|
+
|
|
11
|
+
__ https://pythonhosted.org/setuptools/easy_install.html
|
|
12
|
+
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
import sys
|
|
16
|
+
import os
|
|
17
|
+
import zipimport
|
|
18
|
+
import shutil
|
|
19
|
+
import tempfile
|
|
20
|
+
import zipfile
|
|
21
|
+
import re
|
|
22
|
+
import stat
|
|
23
|
+
import random
|
|
24
|
+
import platform
|
|
25
|
+
import textwrap
|
|
26
|
+
import warnings
|
|
27
|
+
import site
|
|
28
|
+
import struct
|
|
29
|
+
from glob import glob
|
|
30
|
+
from distutils import log, dir_util
|
|
31
|
+
|
|
32
|
+
import pkg_resources
|
|
33
|
+
from setuptools import Command, _dont_write_bytecode
|
|
34
|
+
from setuptools.sandbox import run_setup
|
|
35
|
+
from setuptools.py31compat import get_path, get_config_vars
|
|
36
|
+
|
|
37
|
+
from distutils.util import get_platform
|
|
38
|
+
from distutils.util import convert_path, subst_vars
|
|
39
|
+
from distutils.errors import DistutilsArgError, DistutilsOptionError, \
|
|
40
|
+
DistutilsError, DistutilsPlatformError
|
|
41
|
+
from distutils.command.install import INSTALL_SCHEMES, SCHEME_KEYS
|
|
42
|
+
from setuptools.command import setopt
|
|
43
|
+
from setuptools.archive_util import unpack_archive
|
|
44
|
+
from setuptools.package_index import PackageIndex
|
|
45
|
+
from setuptools.package_index import URL_SCHEME
|
|
46
|
+
from setuptools.command import bdist_egg, egg_info
|
|
47
|
+
from setuptools.compat import (iteritems, maxsize, basestring, unicode,
|
|
48
|
+
reraise)
|
|
49
|
+
from pkg_resources import (
|
|
50
|
+
yield_lines, normalize_path, resource_string, ensure_directory,
|
|
51
|
+
get_distribution, find_distributions, Environment, Requirement,
|
|
52
|
+
Distribution, PathMetadata, EggMetadata, WorkingSet, DistributionNotFound,
|
|
53
|
+
VersionConflict, DEVELOP_DIST,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
sys_executable = os.environ.get('__VENV_LAUNCHER__',
|
|
57
|
+
os.path.normpath(sys.executable))
|
|
58
|
+
|
|
59
|
+
__all__ = [
|
|
60
|
+
'samefile', 'easy_install', 'PthDistributions', 'extract_wininst_cfg',
|
|
61
|
+
'main', 'get_exe_prefixes',
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
def is_64bit():
|
|
65
|
+
return struct.calcsize("P") == 8
|
|
66
|
+
|
|
67
|
+
def samefile(p1, p2):
|
|
68
|
+
both_exist = os.path.exists(p1) and os.path.exists(p2)
|
|
69
|
+
use_samefile = hasattr(os.path, 'samefile') and both_exist
|
|
70
|
+
if use_samefile:
|
|
71
|
+
return os.path.samefile(p1, p2)
|
|
72
|
+
norm_p1 = os.path.normpath(os.path.normcase(p1))
|
|
73
|
+
norm_p2 = os.path.normpath(os.path.normcase(p2))
|
|
74
|
+
return norm_p1 == norm_p2
|
|
75
|
+
|
|
76
|
+
if sys.version_info <= (3,):
|
|
77
|
+
def _to_ascii(s):
|
|
78
|
+
return s
|
|
79
|
+
def isascii(s):
|
|
80
|
+
try:
|
|
81
|
+
unicode(s, 'ascii')
|
|
82
|
+
return True
|
|
83
|
+
except UnicodeError:
|
|
84
|
+
return False
|
|
85
|
+
else:
|
|
86
|
+
def _to_ascii(s):
|
|
87
|
+
return s.encode('ascii')
|
|
88
|
+
def isascii(s):
|
|
89
|
+
try:
|
|
90
|
+
s.encode('ascii')
|
|
91
|
+
return True
|
|
92
|
+
except UnicodeError:
|
|
93
|
+
return False
|
|
94
|
+
|
|
95
|
+
class easy_install(Command):
|
|
96
|
+
"""Manage a download/build/install process"""
|
|
97
|
+
description = "Find/get/install Python packages"
|
|
98
|
+
command_consumes_arguments = True
|
|
99
|
+
|
|
100
|
+
user_options = [
|
|
101
|
+
('prefix=', None, "installation prefix"),
|
|
102
|
+
("zip-ok", "z", "install package as a zipfile"),
|
|
103
|
+
("multi-version", "m", "make apps have to require() a version"),
|
|
104
|
+
("upgrade", "U", "force upgrade (searches PyPI for latest versions)"),
|
|
105
|
+
("install-dir=", "d", "install package to DIR"),
|
|
106
|
+
("script-dir=", "s", "install scripts to DIR"),
|
|
107
|
+
("exclude-scripts", "x", "Don't install scripts"),
|
|
108
|
+
("always-copy", "a", "Copy all needed packages to install dir"),
|
|
109
|
+
("index-url=", "i", "base URL of Python Package Index"),
|
|
110
|
+
("find-links=", "f", "additional URL(s) to search for packages"),
|
|
111
|
+
("build-directory=", "b",
|
|
112
|
+
"download/extract/build in DIR; keep the results"),
|
|
113
|
+
('optimize=', 'O',
|
|
114
|
+
"also compile with optimization: -O1 for \"python -O\", "
|
|
115
|
+
"-O2 for \"python -OO\", and -O0 to disable [default: -O0]"),
|
|
116
|
+
('record=', None,
|
|
117
|
+
"filename in which to record list of installed files"),
|
|
118
|
+
('always-unzip', 'Z', "don't install as a zipfile, no matter what"),
|
|
119
|
+
('site-dirs=','S',"list of directories where .pth files work"),
|
|
120
|
+
('editable', 'e', "Install specified packages in editable form"),
|
|
121
|
+
('no-deps', 'N', "don't install dependencies"),
|
|
122
|
+
('allow-hosts=', 'H', "pattern(s) that hostnames must match"),
|
|
123
|
+
('local-snapshots-ok', 'l',
|
|
124
|
+
"allow building eggs from local checkouts"),
|
|
125
|
+
('version', None, "print version information and exit"),
|
|
126
|
+
('no-find-links', None,
|
|
127
|
+
"Don't load find-links defined in packages being installed")
|
|
128
|
+
]
|
|
129
|
+
boolean_options = [
|
|
130
|
+
'zip-ok', 'multi-version', 'exclude-scripts', 'upgrade', 'always-copy',
|
|
131
|
+
'editable',
|
|
132
|
+
'no-deps', 'local-snapshots-ok', 'version'
|
|
133
|
+
]
|
|
134
|
+
|
|
135
|
+
if site.ENABLE_USER_SITE:
|
|
136
|
+
help_msg = "install in user site-package '%s'" % site.USER_SITE
|
|
137
|
+
user_options.append(('user', None, help_msg))
|
|
138
|
+
boolean_options.append('user')
|
|
139
|
+
|
|
140
|
+
negative_opt = {'always-unzip': 'zip-ok'}
|
|
141
|
+
create_index = PackageIndex
|
|
142
|
+
|
|
143
|
+
def initialize_options(self):
|
|
144
|
+
if site.ENABLE_USER_SITE:
|
|
145
|
+
whereami = os.path.abspath(__file__)
|
|
146
|
+
self.user = whereami.startswith(site.USER_SITE)
|
|
147
|
+
else:
|
|
148
|
+
self.user = 0
|
|
149
|
+
|
|
150
|
+
self.zip_ok = self.local_snapshots_ok = None
|
|
151
|
+
self.install_dir = self.script_dir = self.exclude_scripts = None
|
|
152
|
+
self.index_url = None
|
|
153
|
+
self.find_links = None
|
|
154
|
+
self.build_directory = None
|
|
155
|
+
self.args = None
|
|
156
|
+
self.optimize = self.record = None
|
|
157
|
+
self.upgrade = self.always_copy = self.multi_version = None
|
|
158
|
+
self.editable = self.no_deps = self.allow_hosts = None
|
|
159
|
+
self.root = self.prefix = self.no_report = None
|
|
160
|
+
self.version = None
|
|
161
|
+
self.install_purelib = None # for pure module distributions
|
|
162
|
+
self.install_platlib = None # non-pure (dists w/ extensions)
|
|
163
|
+
self.install_headers = None # for C/C++ headers
|
|
164
|
+
self.install_lib = None # set to either purelib or platlib
|
|
165
|
+
self.install_scripts = None
|
|
166
|
+
self.install_data = None
|
|
167
|
+
self.install_base = None
|
|
168
|
+
self.install_platbase = None
|
|
169
|
+
if site.ENABLE_USER_SITE:
|
|
170
|
+
self.install_userbase = site.USER_BASE
|
|
171
|
+
self.install_usersite = site.USER_SITE
|
|
172
|
+
else:
|
|
173
|
+
self.install_userbase = None
|
|
174
|
+
self.install_usersite = None
|
|
175
|
+
self.no_find_links = None
|
|
176
|
+
|
|
177
|
+
# Options not specifiable via command line
|
|
178
|
+
self.package_index = None
|
|
179
|
+
self.pth_file = self.always_copy_from = None
|
|
180
|
+
self.site_dirs = None
|
|
181
|
+
self.installed_projects = {}
|
|
182
|
+
self.sitepy_installed = False
|
|
183
|
+
# Always read easy_install options, even if we are subclassed, or have
|
|
184
|
+
# an independent instance created. This ensures that defaults will
|
|
185
|
+
# always come from the standard configuration file(s)' "easy_install"
|
|
186
|
+
# section, even if this is a "develop" or "install" command, or some
|
|
187
|
+
# other embedding.
|
|
188
|
+
self._dry_run = None
|
|
189
|
+
self.verbose = self.distribution.verbose
|
|
190
|
+
self.distribution._set_command_options(
|
|
191
|
+
self, self.distribution.get_option_dict('easy_install')
|
|
192
|
+
)
|
|
193
|
+
|
|
194
|
+
def delete_blockers(self, blockers):
|
|
195
|
+
for filename in blockers:
|
|
196
|
+
if os.path.exists(filename) or os.path.islink(filename):
|
|
197
|
+
log.info("Deleting %s", filename)
|
|
198
|
+
if not self.dry_run:
|
|
199
|
+
if os.path.isdir(filename) and not os.path.islink(filename):
|
|
200
|
+
rmtree(filename)
|
|
201
|
+
else:
|
|
202
|
+
os.unlink(filename)
|
|
203
|
+
|
|
204
|
+
def finalize_options(self):
|
|
205
|
+
if self.version:
|
|
206
|
+
print('setuptools %s' % get_distribution('setuptools').version)
|
|
207
|
+
sys.exit()
|
|
208
|
+
|
|
209
|
+
py_version = sys.version.split()[0]
|
|
210
|
+
prefix, exec_prefix = get_config_vars('prefix', 'exec_prefix')
|
|
211
|
+
|
|
212
|
+
self.config_vars = {
|
|
213
|
+
'dist_name': self.distribution.get_name(),
|
|
214
|
+
'dist_version': self.distribution.get_version(),
|
|
215
|
+
'dist_fullname': self.distribution.get_fullname(),
|
|
216
|
+
'py_version': py_version,
|
|
217
|
+
'py_version_short': py_version[0:3],
|
|
218
|
+
'py_version_nodot': py_version[0] + py_version[2],
|
|
219
|
+
'sys_prefix': prefix,
|
|
220
|
+
'prefix': prefix,
|
|
221
|
+
'sys_exec_prefix': exec_prefix,
|
|
222
|
+
'exec_prefix': exec_prefix,
|
|
223
|
+
# Only python 3.2+ has abiflags
|
|
224
|
+
'abiflags': getattr(sys, 'abiflags', ''),
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if site.ENABLE_USER_SITE:
|
|
228
|
+
self.config_vars['userbase'] = self.install_userbase
|
|
229
|
+
self.config_vars['usersite'] = self.install_usersite
|
|
230
|
+
|
|
231
|
+
# fix the install_dir if "--user" was used
|
|
232
|
+
#XXX: duplicate of the code in the setup command
|
|
233
|
+
if self.user and site.ENABLE_USER_SITE:
|
|
234
|
+
self.create_home_path()
|
|
235
|
+
if self.install_userbase is None:
|
|
236
|
+
raise DistutilsPlatformError(
|
|
237
|
+
"User base directory is not specified")
|
|
238
|
+
self.install_base = self.install_platbase = self.install_userbase
|
|
239
|
+
if os.name == 'posix':
|
|
240
|
+
self.select_scheme("unix_user")
|
|
241
|
+
else:
|
|
242
|
+
self.select_scheme(os.name + "_user")
|
|
243
|
+
|
|
244
|
+
self.expand_basedirs()
|
|
245
|
+
self.expand_dirs()
|
|
246
|
+
|
|
247
|
+
self._expand('install_dir','script_dir','build_directory','site_dirs')
|
|
248
|
+
# If a non-default installation directory was specified, default the
|
|
249
|
+
# script directory to match it.
|
|
250
|
+
if self.script_dir is None:
|
|
251
|
+
self.script_dir = self.install_dir
|
|
252
|
+
|
|
253
|
+
if self.no_find_links is None:
|
|
254
|
+
self.no_find_links = False
|
|
255
|
+
|
|
256
|
+
# Let install_dir get set by install_lib command, which in turn
|
|
257
|
+
# gets its info from the install command, and takes into account
|
|
258
|
+
# --prefix and --home and all that other crud.
|
|
259
|
+
self.set_undefined_options('install_lib',
|
|
260
|
+
('install_dir','install_dir')
|
|
261
|
+
)
|
|
262
|
+
# Likewise, set default script_dir from 'install_scripts.install_dir'
|
|
263
|
+
self.set_undefined_options('install_scripts',
|
|
264
|
+
('install_dir', 'script_dir')
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
if self.user and self.install_purelib:
|
|
268
|
+
self.install_dir = self.install_purelib
|
|
269
|
+
self.script_dir = self.install_scripts
|
|
270
|
+
# default --record from the install command
|
|
271
|
+
self.set_undefined_options('install', ('record', 'record'))
|
|
272
|
+
# Should this be moved to the if statement below? It's not used
|
|
273
|
+
# elsewhere
|
|
274
|
+
normpath = map(normalize_path, sys.path)
|
|
275
|
+
self.all_site_dirs = get_site_dirs()
|
|
276
|
+
if self.site_dirs is not None:
|
|
277
|
+
site_dirs = [
|
|
278
|
+
os.path.expanduser(s.strip()) for s in self.site_dirs.split(',')
|
|
279
|
+
]
|
|
280
|
+
for d in site_dirs:
|
|
281
|
+
if not os.path.isdir(d):
|
|
282
|
+
log.warn("%s (in --site-dirs) does not exist", d)
|
|
283
|
+
elif normalize_path(d) not in normpath:
|
|
284
|
+
raise DistutilsOptionError(
|
|
285
|
+
d+" (in --site-dirs) is not on sys.path"
|
|
286
|
+
)
|
|
287
|
+
else:
|
|
288
|
+
self.all_site_dirs.append(normalize_path(d))
|
|
289
|
+
if not self.editable: self.check_site_dir()
|
|
290
|
+
self.index_url = self.index_url or "https://pypi.python.org/simple"
|
|
291
|
+
self.shadow_path = self.all_site_dirs[:]
|
|
292
|
+
for path_item in self.install_dir, normalize_path(self.script_dir):
|
|
293
|
+
if path_item not in self.shadow_path:
|
|
294
|
+
self.shadow_path.insert(0, path_item)
|
|
295
|
+
|
|
296
|
+
if self.allow_hosts is not None:
|
|
297
|
+
hosts = [s.strip() for s in self.allow_hosts.split(',')]
|
|
298
|
+
else:
|
|
299
|
+
hosts = ['*']
|
|
300
|
+
if self.package_index is None:
|
|
301
|
+
self.package_index = self.create_index(
|
|
302
|
+
self.index_url, search_path = self.shadow_path, hosts=hosts,
|
|
303
|
+
)
|
|
304
|
+
self.local_index = Environment(self.shadow_path+sys.path)
|
|
305
|
+
|
|
306
|
+
if self.find_links is not None:
|
|
307
|
+
if isinstance(self.find_links, basestring):
|
|
308
|
+
self.find_links = self.find_links.split()
|
|
309
|
+
else:
|
|
310
|
+
self.find_links = []
|
|
311
|
+
if self.local_snapshots_ok:
|
|
312
|
+
self.package_index.scan_egg_links(self.shadow_path+sys.path)
|
|
313
|
+
if not self.no_find_links:
|
|
314
|
+
self.package_index.add_find_links(self.find_links)
|
|
315
|
+
self.set_undefined_options('install_lib', ('optimize','optimize'))
|
|
316
|
+
if not isinstance(self.optimize,int):
|
|
317
|
+
try:
|
|
318
|
+
self.optimize = int(self.optimize)
|
|
319
|
+
if not (0 <= self.optimize <= 2): raise ValueError
|
|
320
|
+
except ValueError:
|
|
321
|
+
raise DistutilsOptionError("--optimize must be 0, 1, or 2")
|
|
322
|
+
|
|
323
|
+
if self.editable and not self.build_directory:
|
|
324
|
+
raise DistutilsArgError(
|
|
325
|
+
"Must specify a build directory (-b) when using --editable"
|
|
326
|
+
)
|
|
327
|
+
if not self.args:
|
|
328
|
+
raise DistutilsArgError(
|
|
329
|
+
"No urls, filenames, or requirements specified (see --help)")
|
|
330
|
+
|
|
331
|
+
self.outputs = []
|
|
332
|
+
|
|
333
|
+
def _expand_attrs(self, attrs):
|
|
334
|
+
for attr in attrs:
|
|
335
|
+
val = getattr(self, attr)
|
|
336
|
+
if val is not None:
|
|
337
|
+
if os.name == 'posix' or os.name == 'nt':
|
|
338
|
+
val = os.path.expanduser(val)
|
|
339
|
+
val = subst_vars(val, self.config_vars)
|
|
340
|
+
setattr(self, attr, val)
|
|
341
|
+
|
|
342
|
+
def expand_basedirs(self):
|
|
343
|
+
"""Calls `os.path.expanduser` on install_base, install_platbase and
|
|
344
|
+
root."""
|
|
345
|
+
self._expand_attrs(['install_base', 'install_platbase', 'root'])
|
|
346
|
+
|
|
347
|
+
def expand_dirs(self):
|
|
348
|
+
"""Calls `os.path.expanduser` on install dirs."""
|
|
349
|
+
self._expand_attrs(['install_purelib', 'install_platlib',
|
|
350
|
+
'install_lib', 'install_headers',
|
|
351
|
+
'install_scripts', 'install_data',])
|
|
352
|
+
|
|
353
|
+
def run(self):
|
|
354
|
+
if self.verbose != self.distribution.verbose:
|
|
355
|
+
log.set_verbosity(self.verbose)
|
|
356
|
+
try:
|
|
357
|
+
for spec in self.args:
|
|
358
|
+
self.easy_install(spec, not self.no_deps)
|
|
359
|
+
if self.record:
|
|
360
|
+
outputs = self.outputs
|
|
361
|
+
if self.root: # strip any package prefix
|
|
362
|
+
root_len = len(self.root)
|
|
363
|
+
for counter in range(len(outputs)):
|
|
364
|
+
outputs[counter] = outputs[counter][root_len:]
|
|
365
|
+
from distutils import file_util
|
|
366
|
+
self.execute(
|
|
367
|
+
file_util.write_file, (self.record, outputs),
|
|
368
|
+
"writing list of installed files to '%s'" %
|
|
369
|
+
self.record
|
|
370
|
+
)
|
|
371
|
+
self.warn_deprecated_options()
|
|
372
|
+
finally:
|
|
373
|
+
log.set_verbosity(self.distribution.verbose)
|
|
374
|
+
|
|
375
|
+
def pseudo_tempname(self):
|
|
376
|
+
"""Return a pseudo-tempname base in the install directory.
|
|
377
|
+
This code is intentionally naive; if a malicious party can write to
|
|
378
|
+
the target directory you're already in deep doodoo.
|
|
379
|
+
"""
|
|
380
|
+
try:
|
|
381
|
+
pid = os.getpid()
|
|
382
|
+
except:
|
|
383
|
+
pid = random.randint(0, maxsize)
|
|
384
|
+
return os.path.join(self.install_dir, "test-easy-install-%s" % pid)
|
|
385
|
+
|
|
386
|
+
def warn_deprecated_options(self):
|
|
387
|
+
pass
|
|
388
|
+
|
|
389
|
+
def check_site_dir(self):
|
|
390
|
+
"""Verify that self.install_dir is .pth-capable dir, if needed"""
|
|
391
|
+
|
|
392
|
+
instdir = normalize_path(self.install_dir)
|
|
393
|
+
pth_file = os.path.join(instdir,'easy-install.pth')
|
|
394
|
+
|
|
395
|
+
# Is it a configured, PYTHONPATH, implicit, or explicit site dir?
|
|
396
|
+
is_site_dir = instdir in self.all_site_dirs
|
|
397
|
+
|
|
398
|
+
if not is_site_dir and not self.multi_version:
|
|
399
|
+
# No? Then directly test whether it does .pth file processing
|
|
400
|
+
is_site_dir = self.check_pth_processing()
|
|
401
|
+
else:
|
|
402
|
+
# make sure we can write to target dir
|
|
403
|
+
testfile = self.pseudo_tempname()+'.write-test'
|
|
404
|
+
test_exists = os.path.exists(testfile)
|
|
405
|
+
try:
|
|
406
|
+
if test_exists: os.unlink(testfile)
|
|
407
|
+
open(testfile,'w').close()
|
|
408
|
+
os.unlink(testfile)
|
|
409
|
+
except (OSError,IOError):
|
|
410
|
+
self.cant_write_to_target()
|
|
411
|
+
|
|
412
|
+
if not is_site_dir and not self.multi_version:
|
|
413
|
+
# Can't install non-multi to non-site dir
|
|
414
|
+
raise DistutilsError(self.no_default_version_msg())
|
|
415
|
+
|
|
416
|
+
if is_site_dir:
|
|
417
|
+
if self.pth_file is None:
|
|
418
|
+
self.pth_file = PthDistributions(pth_file, self.all_site_dirs)
|
|
419
|
+
else:
|
|
420
|
+
self.pth_file = None
|
|
421
|
+
|
|
422
|
+
PYTHONPATH = os.environ.get('PYTHONPATH','').split(os.pathsep)
|
|
423
|
+
if instdir not in map(normalize_path, [_f for _f in PYTHONPATH if _f]):
|
|
424
|
+
# only PYTHONPATH dirs need a site.py, so pretend it's there
|
|
425
|
+
self.sitepy_installed = True
|
|
426
|
+
elif self.multi_version and not os.path.exists(pth_file):
|
|
427
|
+
self.sitepy_installed = True # don't need site.py in this case
|
|
428
|
+
self.pth_file = None # and don't create a .pth file
|
|
429
|
+
self.install_dir = instdir
|
|
430
|
+
|
|
431
|
+
def cant_write_to_target(self):
|
|
432
|
+
template = """can't create or remove files in install directory
|
|
433
|
+
|
|
434
|
+
The following error occurred while trying to add or remove files in the
|
|
435
|
+
installation directory:
|
|
436
|
+
|
|
437
|
+
%s
|
|
438
|
+
|
|
439
|
+
The installation directory you specified (via --install-dir, --prefix, or
|
|
440
|
+
the distutils default setting) was:
|
|
441
|
+
|
|
442
|
+
%s
|
|
443
|
+
"""
|
|
444
|
+
msg = template % (sys.exc_info()[1], self.install_dir,)
|
|
445
|
+
|
|
446
|
+
if not os.path.exists(self.install_dir):
|
|
447
|
+
msg += """
|
|
448
|
+
This directory does not currently exist. Please create it and try again, or
|
|
449
|
+
choose a different installation directory (using the -d or --install-dir
|
|
450
|
+
option).
|
|
451
|
+
"""
|
|
452
|
+
else:
|
|
453
|
+
msg += """
|
|
454
|
+
Perhaps your account does not have write access to this directory? If the
|
|
455
|
+
installation directory is a system-owned directory, you may need to sign in
|
|
456
|
+
as the administrator or "root" account. If you do not have administrative
|
|
457
|
+
access to this machine, you may wish to choose a different installation
|
|
458
|
+
directory, preferably one that is listed in your PYTHONPATH environment
|
|
459
|
+
variable.
|
|
460
|
+
|
|
461
|
+
For information on other options, you may wish to consult the
|
|
462
|
+
documentation at:
|
|
463
|
+
|
|
464
|
+
https://pythonhosted.org/setuptools/easy_install.html
|
|
465
|
+
|
|
466
|
+
Please make the appropriate changes for your system and try again.
|
|
467
|
+
"""
|
|
468
|
+
raise DistutilsError(msg)
|
|
469
|
+
|
|
470
|
+
def check_pth_processing(self):
|
|
471
|
+
"""Empirically verify whether .pth files are supported in inst. dir"""
|
|
472
|
+
instdir = self.install_dir
|
|
473
|
+
log.info("Checking .pth file support in %s", instdir)
|
|
474
|
+
pth_file = self.pseudo_tempname()+".pth"
|
|
475
|
+
ok_file = pth_file+'.ok'
|
|
476
|
+
ok_exists = os.path.exists(ok_file)
|
|
477
|
+
try:
|
|
478
|
+
if ok_exists: os.unlink(ok_file)
|
|
479
|
+
dirname = os.path.dirname(ok_file)
|
|
480
|
+
if not os.path.exists(dirname):
|
|
481
|
+
os.makedirs(dirname)
|
|
482
|
+
f = open(pth_file,'w')
|
|
483
|
+
except (OSError,IOError):
|
|
484
|
+
self.cant_write_to_target()
|
|
485
|
+
else:
|
|
486
|
+
try:
|
|
487
|
+
f.write("import os; f = open(%r, 'w'); f.write('OK'); f.close()\n" % (ok_file,))
|
|
488
|
+
f.close()
|
|
489
|
+
f=None
|
|
490
|
+
executable = sys.executable
|
|
491
|
+
if os.name=='nt':
|
|
492
|
+
dirname,basename = os.path.split(executable)
|
|
493
|
+
alt = os.path.join(dirname,'pythonw.exe')
|
|
494
|
+
if basename.lower()=='python.exe' and os.path.exists(alt):
|
|
495
|
+
# use pythonw.exe to avoid opening a console window
|
|
496
|
+
executable = alt
|
|
497
|
+
|
|
498
|
+
from distutils.spawn import spawn
|
|
499
|
+
spawn([executable,'-E','-c','pass'],0)
|
|
500
|
+
|
|
501
|
+
if os.path.exists(ok_file):
|
|
502
|
+
log.info(
|
|
503
|
+
"TEST PASSED: %s appears to support .pth files",
|
|
504
|
+
instdir
|
|
505
|
+
)
|
|
506
|
+
return True
|
|
507
|
+
finally:
|
|
508
|
+
if f:
|
|
509
|
+
f.close()
|
|
510
|
+
if os.path.exists(ok_file):
|
|
511
|
+
os.unlink(ok_file)
|
|
512
|
+
if os.path.exists(pth_file):
|
|
513
|
+
os.unlink(pth_file)
|
|
514
|
+
if not self.multi_version:
|
|
515
|
+
log.warn("TEST FAILED: %s does NOT support .pth files", instdir)
|
|
516
|
+
return False
|
|
517
|
+
|
|
518
|
+
def install_egg_scripts(self, dist):
|
|
519
|
+
"""Write all the scripts for `dist`, unless scripts are excluded"""
|
|
520
|
+
if not self.exclude_scripts and dist.metadata_isdir('scripts'):
|
|
521
|
+
for script_name in dist.metadata_listdir('scripts'):
|
|
522
|
+
if dist.metadata_isdir('scripts/' + script_name):
|
|
523
|
+
# The "script" is a directory, likely a Python 3
|
|
524
|
+
# __pycache__ directory, so skip it.
|
|
525
|
+
continue
|
|
526
|
+
self.install_script(
|
|
527
|
+
dist, script_name,
|
|
528
|
+
dist.get_metadata('scripts/'+script_name)
|
|
529
|
+
)
|
|
530
|
+
self.install_wrapper_scripts(dist)
|
|
531
|
+
|
|
532
|
+
def add_output(self, path):
|
|
533
|
+
if os.path.isdir(path):
|
|
534
|
+
for base, dirs, files in os.walk(path):
|
|
535
|
+
for filename in files:
|
|
536
|
+
self.outputs.append(os.path.join(base,filename))
|
|
537
|
+
else:
|
|
538
|
+
self.outputs.append(path)
|
|
539
|
+
|
|
540
|
+
def not_editable(self, spec):
|
|
541
|
+
if self.editable:
|
|
542
|
+
raise DistutilsArgError(
|
|
543
|
+
"Invalid argument %r: you can't use filenames or URLs "
|
|
544
|
+
"with --editable (except via the --find-links option)."
|
|
545
|
+
% (spec,)
|
|
546
|
+
)
|
|
547
|
+
|
|
548
|
+
def check_editable(self,spec):
|
|
549
|
+
if not self.editable:
|
|
550
|
+
return
|
|
551
|
+
|
|
552
|
+
if os.path.exists(os.path.join(self.build_directory, spec.key)):
|
|
553
|
+
raise DistutilsArgError(
|
|
554
|
+
"%r already exists in %s; can't do a checkout there" %
|
|
555
|
+
(spec.key, self.build_directory)
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
def easy_install(self, spec, deps=False):
|
|
559
|
+
tmpdir = tempfile.mkdtemp(prefix="easy_install-")
|
|
560
|
+
download = None
|
|
561
|
+
if not self.editable: self.install_site_py()
|
|
562
|
+
|
|
563
|
+
try:
|
|
564
|
+
if not isinstance(spec,Requirement):
|
|
565
|
+
if URL_SCHEME(spec):
|
|
566
|
+
# It's a url, download it to tmpdir and process
|
|
567
|
+
self.not_editable(spec)
|
|
568
|
+
download = self.package_index.download(spec, tmpdir)
|
|
569
|
+
return self.install_item(None, download, tmpdir, deps, True)
|
|
570
|
+
|
|
571
|
+
elif os.path.exists(spec):
|
|
572
|
+
# Existing file or directory, just process it directly
|
|
573
|
+
self.not_editable(spec)
|
|
574
|
+
return self.install_item(None, spec, tmpdir, deps, True)
|
|
575
|
+
else:
|
|
576
|
+
spec = parse_requirement_arg(spec)
|
|
577
|
+
|
|
578
|
+
self.check_editable(spec)
|
|
579
|
+
dist = self.package_index.fetch_distribution(
|
|
580
|
+
spec, tmpdir, self.upgrade, self.editable, not self.always_copy,
|
|
581
|
+
self.local_index
|
|
582
|
+
)
|
|
583
|
+
if dist is None:
|
|
584
|
+
msg = "Could not find suitable distribution for %r" % spec
|
|
585
|
+
if self.always_copy:
|
|
586
|
+
msg+=" (--always-copy skips system and development eggs)"
|
|
587
|
+
raise DistutilsError(msg)
|
|
588
|
+
elif dist.precedence==DEVELOP_DIST:
|
|
589
|
+
# .egg-info dists don't need installing, just process deps
|
|
590
|
+
self.process_distribution(spec, dist, deps, "Using")
|
|
591
|
+
return dist
|
|
592
|
+
else:
|
|
593
|
+
return self.install_item(spec, dist.location, tmpdir, deps)
|
|
594
|
+
|
|
595
|
+
finally:
|
|
596
|
+
if os.path.exists(tmpdir):
|
|
597
|
+
rmtree(tmpdir)
|
|
598
|
+
|
|
599
|
+
def install_item(self, spec, download, tmpdir, deps, install_needed=False):
|
|
600
|
+
|
|
601
|
+
# Installation is also needed if file in tmpdir or is not an egg
|
|
602
|
+
install_needed = install_needed or self.always_copy
|
|
603
|
+
install_needed = install_needed or os.path.dirname(download) == tmpdir
|
|
604
|
+
install_needed = install_needed or not download.endswith('.egg')
|
|
605
|
+
install_needed = install_needed or (
|
|
606
|
+
self.always_copy_from is not None and
|
|
607
|
+
os.path.dirname(normalize_path(download)) ==
|
|
608
|
+
normalize_path(self.always_copy_from)
|
|
609
|
+
)
|
|
610
|
+
|
|
611
|
+
if spec and not install_needed:
|
|
612
|
+
# at this point, we know it's a local .egg, we just don't know if
|
|
613
|
+
# it's already installed.
|
|
614
|
+
for dist in self.local_index[spec.project_name]:
|
|
615
|
+
if dist.location==download:
|
|
616
|
+
break
|
|
617
|
+
else:
|
|
618
|
+
install_needed = True # it's not in the local index
|
|
619
|
+
|
|
620
|
+
log.info("Processing %s", os.path.basename(download))
|
|
621
|
+
|
|
622
|
+
if install_needed:
|
|
623
|
+
dists = self.install_eggs(spec, download, tmpdir)
|
|
624
|
+
for dist in dists:
|
|
625
|
+
self.process_distribution(spec, dist, deps)
|
|
626
|
+
else:
|
|
627
|
+
dists = [self.egg_distribution(download)]
|
|
628
|
+
self.process_distribution(spec, dists[0], deps, "Using")
|
|
629
|
+
|
|
630
|
+
if spec is not None:
|
|
631
|
+
for dist in dists:
|
|
632
|
+
if dist in spec:
|
|
633
|
+
return dist
|
|
634
|
+
|
|
635
|
+
def select_scheme(self, name):
|
|
636
|
+
"""Sets the install directories by applying the install schemes."""
|
|
637
|
+
# it's the caller's problem if they supply a bad name!
|
|
638
|
+
scheme = INSTALL_SCHEMES[name]
|
|
639
|
+
for key in SCHEME_KEYS:
|
|
640
|
+
attrname = 'install_' + key
|
|
641
|
+
if getattr(self, attrname) is None:
|
|
642
|
+
setattr(self, attrname, scheme[key])
|
|
643
|
+
|
|
644
|
+
def process_distribution(self, requirement, dist, deps=True, *info):
|
|
645
|
+
self.update_pth(dist)
|
|
646
|
+
self.package_index.add(dist)
|
|
647
|
+
self.local_index.add(dist)
|
|
648
|
+
self.install_egg_scripts(dist)
|
|
649
|
+
self.installed_projects[dist.key] = dist
|
|
650
|
+
log.info(self.installation_report(requirement, dist, *info))
|
|
651
|
+
if (dist.has_metadata('dependency_links.txt') and
|
|
652
|
+
not self.no_find_links):
|
|
653
|
+
self.package_index.add_find_links(
|
|
654
|
+
dist.get_metadata_lines('dependency_links.txt')
|
|
655
|
+
)
|
|
656
|
+
if not deps and not self.always_copy:
|
|
657
|
+
return
|
|
658
|
+
elif requirement is not None and dist.key != requirement.key:
|
|
659
|
+
log.warn("Skipping dependencies for %s", dist)
|
|
660
|
+
return # XXX this is not the distribution we were looking for
|
|
661
|
+
elif requirement is None or dist not in requirement:
|
|
662
|
+
# if we wound up with a different version, resolve what we've got
|
|
663
|
+
distreq = dist.as_requirement()
|
|
664
|
+
requirement = requirement or distreq
|
|
665
|
+
requirement = Requirement(
|
|
666
|
+
distreq.project_name, distreq.specs, requirement.extras
|
|
667
|
+
)
|
|
668
|
+
log.info("Processing dependencies for %s", requirement)
|
|
669
|
+
try:
|
|
670
|
+
distros = WorkingSet([]).resolve(
|
|
671
|
+
[requirement], self.local_index, self.easy_install
|
|
672
|
+
)
|
|
673
|
+
except DistributionNotFound:
|
|
674
|
+
e = sys.exc_info()[1]
|
|
675
|
+
raise DistutilsError(
|
|
676
|
+
"Could not find required distribution %s" % e.args
|
|
677
|
+
)
|
|
678
|
+
except VersionConflict:
|
|
679
|
+
e = sys.exc_info()[1]
|
|
680
|
+
raise DistutilsError(
|
|
681
|
+
"Installed distribution %s conflicts with requirement %s"
|
|
682
|
+
% e.args
|
|
683
|
+
)
|
|
684
|
+
if self.always_copy or self.always_copy_from:
|
|
685
|
+
# Force all the relevant distros to be copied or activated
|
|
686
|
+
for dist in distros:
|
|
687
|
+
if dist.key not in self.installed_projects:
|
|
688
|
+
self.easy_install(dist.as_requirement())
|
|
689
|
+
log.info("Finished processing dependencies for %s", requirement)
|
|
690
|
+
|
|
691
|
+
def should_unzip(self, dist):
|
|
692
|
+
if self.zip_ok is not None:
|
|
693
|
+
return not self.zip_ok
|
|
694
|
+
if dist.has_metadata('not-zip-safe'):
|
|
695
|
+
return True
|
|
696
|
+
if not dist.has_metadata('zip-safe'):
|
|
697
|
+
return True
|
|
698
|
+
return False
|
|
699
|
+
|
|
700
|
+
def maybe_move(self, spec, dist_filename, setup_base):
|
|
701
|
+
dst = os.path.join(self.build_directory, spec.key)
|
|
702
|
+
if os.path.exists(dst):
|
|
703
|
+
msg = "%r already exists in %s; build directory %s will not be kept"
|
|
704
|
+
log.warn(msg, spec.key, self.build_directory, setup_base)
|
|
705
|
+
return setup_base
|
|
706
|
+
if os.path.isdir(dist_filename):
|
|
707
|
+
setup_base = dist_filename
|
|
708
|
+
else:
|
|
709
|
+
if os.path.dirname(dist_filename)==setup_base:
|
|
710
|
+
os.unlink(dist_filename) # get it out of the tmp dir
|
|
711
|
+
contents = os.listdir(setup_base)
|
|
712
|
+
if len(contents)==1:
|
|
713
|
+
dist_filename = os.path.join(setup_base,contents[0])
|
|
714
|
+
if os.path.isdir(dist_filename):
|
|
715
|
+
# if the only thing there is a directory, move it instead
|
|
716
|
+
setup_base = dist_filename
|
|
717
|
+
ensure_directory(dst)
|
|
718
|
+
shutil.move(setup_base, dst)
|
|
719
|
+
return dst
|
|
720
|
+
|
|
721
|
+
def install_wrapper_scripts(self, dist):
|
|
722
|
+
if not self.exclude_scripts:
|
|
723
|
+
for args in get_script_args(dist):
|
|
724
|
+
self.write_script(*args)
|
|
725
|
+
|
|
726
|
+
def install_script(self, dist, script_name, script_text, dev_path=None):
|
|
727
|
+
"""Generate a legacy script wrapper and install it"""
|
|
728
|
+
spec = str(dist.as_requirement())
|
|
729
|
+
is_script = is_python_script(script_text, script_name)
|
|
730
|
+
|
|
731
|
+
def get_template(filename):
|
|
732
|
+
"""
|
|
733
|
+
There are a couple of template scripts in the package. This
|
|
734
|
+
function loads one of them and prepares it for use.
|
|
735
|
+
|
|
736
|
+
These templates use triple-quotes to escape variable
|
|
737
|
+
substitutions so the scripts get the 2to3 treatment when build
|
|
738
|
+
on Python 3. The templates cannot use triple-quotes naturally.
|
|
739
|
+
"""
|
|
740
|
+
raw_bytes = resource_string('setuptools', template_name)
|
|
741
|
+
template_str = raw_bytes.decode('utf-8')
|
|
742
|
+
clean_template = template_str.replace('"""', '')
|
|
743
|
+
return clean_template
|
|
744
|
+
|
|
745
|
+
if is_script:
|
|
746
|
+
template_name = 'script template.py'
|
|
747
|
+
if dev_path:
|
|
748
|
+
template_name = template_name.replace('.py', ' (dev).py')
|
|
749
|
+
script_text = (get_script_header(script_text) +
|
|
750
|
+
get_template(template_name) % locals())
|
|
751
|
+
self.write_script(script_name, _to_ascii(script_text), 'b')
|
|
752
|
+
|
|
753
|
+
def write_script(self, script_name, contents, mode="t", blockers=()):
|
|
754
|
+
"""Write an executable file to the scripts directory"""
|
|
755
|
+
self.delete_blockers( # clean up old .py/.pyw w/o a script
|
|
756
|
+
[os.path.join(self.script_dir,x) for x in blockers])
|
|
757
|
+
log.info("Installing %s script to %s", script_name, self.script_dir)
|
|
758
|
+
target = os.path.join(self.script_dir, script_name)
|
|
759
|
+
self.add_output(target)
|
|
760
|
+
|
|
761
|
+
mask = current_umask()
|
|
762
|
+
if not self.dry_run:
|
|
763
|
+
ensure_directory(target)
|
|
764
|
+
if os.path.exists(target):
|
|
765
|
+
os.unlink(target)
|
|
766
|
+
f = open(target,"w"+mode)
|
|
767
|
+
f.write(contents)
|
|
768
|
+
f.close()
|
|
769
|
+
chmod(target, 0x1FF-mask) # 0777
|
|
770
|
+
|
|
771
|
+
def install_eggs(self, spec, dist_filename, tmpdir):
|
|
772
|
+
# .egg dirs or files are already built, so just return them
|
|
773
|
+
if dist_filename.lower().endswith('.egg'):
|
|
774
|
+
return [self.install_egg(dist_filename, tmpdir)]
|
|
775
|
+
elif dist_filename.lower().endswith('.exe'):
|
|
776
|
+
return [self.install_exe(dist_filename, tmpdir)]
|
|
777
|
+
|
|
778
|
+
# Anything else, try to extract and build
|
|
779
|
+
setup_base = tmpdir
|
|
780
|
+
if os.path.isfile(dist_filename) and not dist_filename.endswith('.py'):
|
|
781
|
+
unpack_archive(dist_filename, tmpdir, self.unpack_progress)
|
|
782
|
+
elif os.path.isdir(dist_filename):
|
|
783
|
+
setup_base = os.path.abspath(dist_filename)
|
|
784
|
+
|
|
785
|
+
if (setup_base.startswith(tmpdir) # something we downloaded
|
|
786
|
+
and self.build_directory and spec is not None):
|
|
787
|
+
setup_base = self.maybe_move(spec, dist_filename, setup_base)
|
|
788
|
+
|
|
789
|
+
# Find the setup.py file
|
|
790
|
+
setup_script = os.path.join(setup_base, 'setup.py')
|
|
791
|
+
|
|
792
|
+
if not os.path.exists(setup_script):
|
|
793
|
+
setups = glob(os.path.join(setup_base, '*', 'setup.py'))
|
|
794
|
+
if not setups:
|
|
795
|
+
raise DistutilsError(
|
|
796
|
+
"Couldn't find a setup script in %s" % os.path.abspath(dist_filename)
|
|
797
|
+
)
|
|
798
|
+
if len(setups)>1:
|
|
799
|
+
raise DistutilsError(
|
|
800
|
+
"Multiple setup scripts in %s" % os.path.abspath(dist_filename)
|
|
801
|
+
)
|
|
802
|
+
setup_script = setups[0]
|
|
803
|
+
|
|
804
|
+
# Now run it, and return the result
|
|
805
|
+
if self.editable:
|
|
806
|
+
log.info(self.report_editable(spec, setup_script))
|
|
807
|
+
return []
|
|
808
|
+
else:
|
|
809
|
+
return self.build_and_install(setup_script, setup_base)
|
|
810
|
+
|
|
811
|
+
def egg_distribution(self, egg_path):
|
|
812
|
+
if os.path.isdir(egg_path):
|
|
813
|
+
metadata = PathMetadata(egg_path,os.path.join(egg_path,'EGG-INFO'))
|
|
814
|
+
else:
|
|
815
|
+
metadata = EggMetadata(zipimport.zipimporter(egg_path))
|
|
816
|
+
return Distribution.from_filename(egg_path,metadata=metadata)
|
|
817
|
+
|
|
818
|
+
def install_egg(self, egg_path, tmpdir):
|
|
819
|
+
destination = os.path.join(self.install_dir,os.path.basename(egg_path))
|
|
820
|
+
destination = os.path.abspath(destination)
|
|
821
|
+
if not self.dry_run:
|
|
822
|
+
ensure_directory(destination)
|
|
823
|
+
|
|
824
|
+
dist = self.egg_distribution(egg_path)
|
|
825
|
+
if not samefile(egg_path, destination):
|
|
826
|
+
if os.path.isdir(destination) and not os.path.islink(destination):
|
|
827
|
+
dir_util.remove_tree(destination, dry_run=self.dry_run)
|
|
828
|
+
elif os.path.exists(destination):
|
|
829
|
+
self.execute(os.unlink,(destination,),"Removing "+destination)
|
|
830
|
+
uncache_zipdir(destination)
|
|
831
|
+
if os.path.isdir(egg_path):
|
|
832
|
+
if egg_path.startswith(tmpdir):
|
|
833
|
+
f,m = shutil.move, "Moving"
|
|
834
|
+
else:
|
|
835
|
+
f,m = shutil.copytree, "Copying"
|
|
836
|
+
elif self.should_unzip(dist):
|
|
837
|
+
self.mkpath(destination)
|
|
838
|
+
f,m = self.unpack_and_compile, "Extracting"
|
|
839
|
+
elif egg_path.startswith(tmpdir):
|
|
840
|
+
f,m = shutil.move, "Moving"
|
|
841
|
+
else:
|
|
842
|
+
f,m = shutil.copy2, "Copying"
|
|
843
|
+
|
|
844
|
+
self.execute(f, (egg_path, destination),
|
|
845
|
+
(m+" %s to %s") %
|
|
846
|
+
(os.path.basename(egg_path),os.path.dirname(destination)))
|
|
847
|
+
|
|
848
|
+
self.add_output(destination)
|
|
849
|
+
return self.egg_distribution(destination)
|
|
850
|
+
|
|
851
|
+
def install_exe(self, dist_filename, tmpdir):
|
|
852
|
+
# See if it's valid, get data
|
|
853
|
+
cfg = extract_wininst_cfg(dist_filename)
|
|
854
|
+
if cfg is None:
|
|
855
|
+
raise DistutilsError(
|
|
856
|
+
"%s is not a valid distutils Windows .exe" % dist_filename
|
|
857
|
+
)
|
|
858
|
+
# Create a dummy distribution object until we build the real distro
|
|
859
|
+
dist = Distribution(
|
|
860
|
+
None,
|
|
861
|
+
project_name=cfg.get('metadata','name'),
|
|
862
|
+
version=cfg.get('metadata','version'), platform=get_platform(),
|
|
863
|
+
)
|
|
864
|
+
|
|
865
|
+
# Convert the .exe to an unpacked egg
|
|
866
|
+
egg_path = dist.location = os.path.join(tmpdir, dist.egg_name()+'.egg')
|
|
867
|
+
egg_tmp = egg_path + '.tmp'
|
|
868
|
+
_egg_info = os.path.join(egg_tmp, 'EGG-INFO')
|
|
869
|
+
pkg_inf = os.path.join(_egg_info, 'PKG-INFO')
|
|
870
|
+
ensure_directory(pkg_inf) # make sure EGG-INFO dir exists
|
|
871
|
+
dist._provider = PathMetadata(egg_tmp, _egg_info) # XXX
|
|
872
|
+
self.exe_to_egg(dist_filename, egg_tmp)
|
|
873
|
+
|
|
874
|
+
# Write EGG-INFO/PKG-INFO
|
|
875
|
+
if not os.path.exists(pkg_inf):
|
|
876
|
+
f = open(pkg_inf,'w')
|
|
877
|
+
f.write('Metadata-Version: 1.0\n')
|
|
878
|
+
for k,v in cfg.items('metadata'):
|
|
879
|
+
if k != 'target_version':
|
|
880
|
+
f.write('%s: %s\n' % (k.replace('_','-').title(), v))
|
|
881
|
+
f.close()
|
|
882
|
+
script_dir = os.path.join(_egg_info,'scripts')
|
|
883
|
+
self.delete_blockers( # delete entry-point scripts to avoid duping
|
|
884
|
+
[os.path.join(script_dir,args[0]) for args in get_script_args(dist)]
|
|
885
|
+
)
|
|
886
|
+
# Build .egg file from tmpdir
|
|
887
|
+
bdist_egg.make_zipfile(
|
|
888
|
+
egg_path, egg_tmp, verbose=self.verbose, dry_run=self.dry_run
|
|
889
|
+
)
|
|
890
|
+
# install the .egg
|
|
891
|
+
return self.install_egg(egg_path, tmpdir)
|
|
892
|
+
|
|
893
|
+
def exe_to_egg(self, dist_filename, egg_tmp):
|
|
894
|
+
"""Extract a bdist_wininst to the directories an egg would use"""
|
|
895
|
+
# Check for .pth file and set up prefix translations
|
|
896
|
+
prefixes = get_exe_prefixes(dist_filename)
|
|
897
|
+
to_compile = []
|
|
898
|
+
native_libs = []
|
|
899
|
+
top_level = {}
|
|
900
|
+
def process(src,dst):
|
|
901
|
+
s = src.lower()
|
|
902
|
+
for old,new in prefixes:
|
|
903
|
+
if s.startswith(old):
|
|
904
|
+
src = new+src[len(old):]
|
|
905
|
+
parts = src.split('/')
|
|
906
|
+
dst = os.path.join(egg_tmp, *parts)
|
|
907
|
+
dl = dst.lower()
|
|
908
|
+
if dl.endswith('.pyd') or dl.endswith('.dll'):
|
|
909
|
+
parts[-1] = bdist_egg.strip_module(parts[-1])
|
|
910
|
+
top_level[os.path.splitext(parts[0])[0]] = 1
|
|
911
|
+
native_libs.append(src)
|
|
912
|
+
elif dl.endswith('.py') and old!='SCRIPTS/':
|
|
913
|
+
top_level[os.path.splitext(parts[0])[0]] = 1
|
|
914
|
+
to_compile.append(dst)
|
|
915
|
+
return dst
|
|
916
|
+
if not src.endswith('.pth'):
|
|
917
|
+
log.warn("WARNING: can't process %s", src)
|
|
918
|
+
return None
|
|
919
|
+
# extract, tracking .pyd/.dll->native_libs and .py -> to_compile
|
|
920
|
+
unpack_archive(dist_filename, egg_tmp, process)
|
|
921
|
+
stubs = []
|
|
922
|
+
for res in native_libs:
|
|
923
|
+
if res.lower().endswith('.pyd'): # create stubs for .pyd's
|
|
924
|
+
parts = res.split('/')
|
|
925
|
+
resource = parts[-1]
|
|
926
|
+
parts[-1] = bdist_egg.strip_module(parts[-1])+'.py'
|
|
927
|
+
pyfile = os.path.join(egg_tmp, *parts)
|
|
928
|
+
to_compile.append(pyfile)
|
|
929
|
+
stubs.append(pyfile)
|
|
930
|
+
bdist_egg.write_stub(resource, pyfile)
|
|
931
|
+
self.byte_compile(to_compile) # compile .py's
|
|
932
|
+
bdist_egg.write_safety_flag(os.path.join(egg_tmp,'EGG-INFO'),
|
|
933
|
+
bdist_egg.analyze_egg(egg_tmp, stubs)) # write zip-safety flag
|
|
934
|
+
|
|
935
|
+
for name in 'top_level','native_libs':
|
|
936
|
+
if locals()[name]:
|
|
937
|
+
txt = os.path.join(egg_tmp, 'EGG-INFO', name+'.txt')
|
|
938
|
+
if not os.path.exists(txt):
|
|
939
|
+
f = open(txt,'w')
|
|
940
|
+
f.write('\n'.join(locals()[name])+'\n')
|
|
941
|
+
f.close()
|
|
942
|
+
|
|
943
|
+
def installation_report(self, req, dist, what="Installed"):
|
|
944
|
+
"""Helpful installation message for display to package users"""
|
|
945
|
+
msg = "\n%(what)s %(eggloc)s%(extras)s"
|
|
946
|
+
if self.multi_version and not self.no_report:
|
|
947
|
+
msg += """
|
|
948
|
+
|
|
949
|
+
Because this distribution was installed --multi-version, before you can
|
|
950
|
+
import modules from this package in an application, you will need to
|
|
951
|
+
'import pkg_resources' and then use a 'require()' call similar to one of
|
|
952
|
+
these examples, in order to select the desired version:
|
|
953
|
+
|
|
954
|
+
pkg_resources.require("%(name)s") # latest installed version
|
|
955
|
+
pkg_resources.require("%(name)s==%(version)s") # this exact version
|
|
956
|
+
pkg_resources.require("%(name)s>=%(version)s") # this version or higher
|
|
957
|
+
"""
|
|
958
|
+
if self.install_dir not in map(normalize_path,sys.path):
|
|
959
|
+
msg += """
|
|
960
|
+
|
|
961
|
+
Note also that the installation directory must be on sys.path at runtime for
|
|
962
|
+
this to work. (e.g. by being the application's script directory, by being on
|
|
963
|
+
PYTHONPATH, or by being added to sys.path by your code.)
|
|
964
|
+
"""
|
|
965
|
+
eggloc = dist.location
|
|
966
|
+
name = dist.project_name
|
|
967
|
+
version = dist.version
|
|
968
|
+
extras = '' # TODO: self.report_extras(req, dist)
|
|
969
|
+
return msg % locals()
|
|
970
|
+
|
|
971
|
+
def report_editable(self, spec, setup_script):
|
|
972
|
+
dirname = os.path.dirname(setup_script)
|
|
973
|
+
python = sys.executable
|
|
974
|
+
return """\nExtracted editable version of %(spec)s to %(dirname)s
|
|
975
|
+
|
|
976
|
+
If it uses setuptools in its setup script, you can activate it in
|
|
977
|
+
"development" mode by going to that directory and running::
|
|
978
|
+
|
|
979
|
+
%(python)s setup.py develop
|
|
980
|
+
|
|
981
|
+
See the setuptools documentation for the "develop" command for more info.
|
|
982
|
+
""" % locals()
|
|
983
|
+
|
|
984
|
+
def run_setup(self, setup_script, setup_base, args):
|
|
985
|
+
sys.modules.setdefault('distutils.command.bdist_egg', bdist_egg)
|
|
986
|
+
sys.modules.setdefault('distutils.command.egg_info', egg_info)
|
|
987
|
+
|
|
988
|
+
args = list(args)
|
|
989
|
+
if self.verbose>2:
|
|
990
|
+
v = 'v' * (self.verbose - 1)
|
|
991
|
+
args.insert(0,'-'+v)
|
|
992
|
+
elif self.verbose<2:
|
|
993
|
+
args.insert(0,'-q')
|
|
994
|
+
if self.dry_run:
|
|
995
|
+
args.insert(0,'-n')
|
|
996
|
+
log.info(
|
|
997
|
+
"Running %s %s", setup_script[len(setup_base)+1:], ' '.join(args)
|
|
998
|
+
)
|
|
999
|
+
try:
|
|
1000
|
+
run_setup(setup_script, args)
|
|
1001
|
+
except SystemExit:
|
|
1002
|
+
v = sys.exc_info()[1]
|
|
1003
|
+
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
|
|
1004
|
+
|
|
1005
|
+
def build_and_install(self, setup_script, setup_base):
|
|
1006
|
+
args = ['bdist_egg', '--dist-dir']
|
|
1007
|
+
|
|
1008
|
+
dist_dir = tempfile.mkdtemp(
|
|
1009
|
+
prefix='egg-dist-tmp-', dir=os.path.dirname(setup_script)
|
|
1010
|
+
)
|
|
1011
|
+
try:
|
|
1012
|
+
self._set_fetcher_options(os.path.dirname(setup_script))
|
|
1013
|
+
args.append(dist_dir)
|
|
1014
|
+
|
|
1015
|
+
self.run_setup(setup_script, setup_base, args)
|
|
1016
|
+
all_eggs = Environment([dist_dir])
|
|
1017
|
+
eggs = []
|
|
1018
|
+
for key in all_eggs:
|
|
1019
|
+
for dist in all_eggs[key]:
|
|
1020
|
+
eggs.append(self.install_egg(dist.location, setup_base))
|
|
1021
|
+
if not eggs and not self.dry_run:
|
|
1022
|
+
log.warn("No eggs found in %s (setup script problem?)",
|
|
1023
|
+
dist_dir)
|
|
1024
|
+
return eggs
|
|
1025
|
+
finally:
|
|
1026
|
+
rmtree(dist_dir)
|
|
1027
|
+
log.set_verbosity(self.verbose) # restore our log verbosity
|
|
1028
|
+
|
|
1029
|
+
def _set_fetcher_options(self, base):
|
|
1030
|
+
"""
|
|
1031
|
+
When easy_install is about to run bdist_egg on a source dist, that
|
|
1032
|
+
source dist might have 'setup_requires' directives, requiring
|
|
1033
|
+
additional fetching. Ensure the fetcher options given to easy_install
|
|
1034
|
+
are available to that command as well.
|
|
1035
|
+
"""
|
|
1036
|
+
# find the fetch options from easy_install and write them out
|
|
1037
|
+
# to the setup.cfg file.
|
|
1038
|
+
ei_opts = self.distribution.get_option_dict('easy_install').copy()
|
|
1039
|
+
fetch_directives = (
|
|
1040
|
+
'find_links', 'site_dirs', 'index_url', 'optimize',
|
|
1041
|
+
'site_dirs', 'allow_hosts',
|
|
1042
|
+
)
|
|
1043
|
+
fetch_options = {}
|
|
1044
|
+
for key, val in ei_opts.items():
|
|
1045
|
+
if key not in fetch_directives: continue
|
|
1046
|
+
fetch_options[key.replace('_', '-')] = val[1]
|
|
1047
|
+
# create a settings dictionary suitable for `edit_config`
|
|
1048
|
+
settings = dict(easy_install=fetch_options)
|
|
1049
|
+
cfg_filename = os.path.join(base, 'setup.cfg')
|
|
1050
|
+
setopt.edit_config(cfg_filename, settings)
|
|
1051
|
+
|
|
1052
|
+
def update_pth(self, dist):
|
|
1053
|
+
if self.pth_file is None:
|
|
1054
|
+
return
|
|
1055
|
+
|
|
1056
|
+
for d in self.pth_file[dist.key]: # drop old entries
|
|
1057
|
+
if self.multi_version or d.location != dist.location:
|
|
1058
|
+
log.info("Removing %s from easy-install.pth file", d)
|
|
1059
|
+
self.pth_file.remove(d)
|
|
1060
|
+
if d.location in self.shadow_path:
|
|
1061
|
+
self.shadow_path.remove(d.location)
|
|
1062
|
+
|
|
1063
|
+
if not self.multi_version:
|
|
1064
|
+
if dist.location in self.pth_file.paths:
|
|
1065
|
+
log.info(
|
|
1066
|
+
"%s is already the active version in easy-install.pth",
|
|
1067
|
+
dist
|
|
1068
|
+
)
|
|
1069
|
+
else:
|
|
1070
|
+
log.info("Adding %s to easy-install.pth file", dist)
|
|
1071
|
+
self.pth_file.add(dist) # add new entry
|
|
1072
|
+
if dist.location not in self.shadow_path:
|
|
1073
|
+
self.shadow_path.append(dist.location)
|
|
1074
|
+
|
|
1075
|
+
if not self.dry_run:
|
|
1076
|
+
|
|
1077
|
+
self.pth_file.save()
|
|
1078
|
+
|
|
1079
|
+
if dist.key=='setuptools':
|
|
1080
|
+
# Ensure that setuptools itself never becomes unavailable!
|
|
1081
|
+
# XXX should this check for latest version?
|
|
1082
|
+
filename = os.path.join(self.install_dir,'setuptools.pth')
|
|
1083
|
+
if os.path.islink(filename): os.unlink(filename)
|
|
1084
|
+
f = open(filename, 'wt')
|
|
1085
|
+
f.write(self.pth_file.make_relative(dist.location)+'\n')
|
|
1086
|
+
f.close()
|
|
1087
|
+
|
|
1088
|
+
def unpack_progress(self, src, dst):
|
|
1089
|
+
# Progress filter for unpacking
|
|
1090
|
+
log.debug("Unpacking %s to %s", src, dst)
|
|
1091
|
+
return dst # only unpack-and-compile skips files for dry run
|
|
1092
|
+
|
|
1093
|
+
def unpack_and_compile(self, egg_path, destination):
|
|
1094
|
+
to_compile = []
|
|
1095
|
+
to_chmod = []
|
|
1096
|
+
|
|
1097
|
+
def pf(src, dst):
|
|
1098
|
+
if dst.endswith('.py') and not src.startswith('EGG-INFO/'):
|
|
1099
|
+
to_compile.append(dst)
|
|
1100
|
+
elif dst.endswith('.dll') or dst.endswith('.so'):
|
|
1101
|
+
to_chmod.append(dst)
|
|
1102
|
+
self.unpack_progress(src,dst)
|
|
1103
|
+
return not self.dry_run and dst or None
|
|
1104
|
+
|
|
1105
|
+
unpack_archive(egg_path, destination, pf)
|
|
1106
|
+
self.byte_compile(to_compile)
|
|
1107
|
+
if not self.dry_run:
|
|
1108
|
+
for f in to_chmod:
|
|
1109
|
+
mode = ((os.stat(f)[stat.ST_MODE]) | 0x16D) & 0xFED # 0555, 07755
|
|
1110
|
+
chmod(f, mode)
|
|
1111
|
+
|
|
1112
|
+
def byte_compile(self, to_compile):
|
|
1113
|
+
if _dont_write_bytecode:
|
|
1114
|
+
self.warn('byte-compiling is disabled, skipping.')
|
|
1115
|
+
return
|
|
1116
|
+
|
|
1117
|
+
from distutils.util import byte_compile
|
|
1118
|
+
try:
|
|
1119
|
+
# try to make the byte compile messages quieter
|
|
1120
|
+
log.set_verbosity(self.verbose - 1)
|
|
1121
|
+
|
|
1122
|
+
byte_compile(to_compile, optimize=0, force=1, dry_run=self.dry_run)
|
|
1123
|
+
if self.optimize:
|
|
1124
|
+
byte_compile(
|
|
1125
|
+
to_compile, optimize=self.optimize, force=1,
|
|
1126
|
+
dry_run=self.dry_run
|
|
1127
|
+
)
|
|
1128
|
+
finally:
|
|
1129
|
+
log.set_verbosity(self.verbose) # restore original verbosity
|
|
1130
|
+
|
|
1131
|
+
def no_default_version_msg(self):
|
|
1132
|
+
template = """bad install directory or PYTHONPATH
|
|
1133
|
+
|
|
1134
|
+
You are attempting to install a package to a directory that is not
|
|
1135
|
+
on PYTHONPATH and which Python does not read ".pth" files from. The
|
|
1136
|
+
installation directory you specified (via --install-dir, --prefix, or
|
|
1137
|
+
the distutils default setting) was:
|
|
1138
|
+
|
|
1139
|
+
%s
|
|
1140
|
+
|
|
1141
|
+
and your PYTHONPATH environment variable currently contains:
|
|
1142
|
+
|
|
1143
|
+
%r
|
|
1144
|
+
|
|
1145
|
+
Here are some of your options for correcting the problem:
|
|
1146
|
+
|
|
1147
|
+
* You can choose a different installation directory, i.e., one that is
|
|
1148
|
+
on PYTHONPATH or supports .pth files
|
|
1149
|
+
|
|
1150
|
+
* You can add the installation directory to the PYTHONPATH environment
|
|
1151
|
+
variable. (It must then also be on PYTHONPATH whenever you run
|
|
1152
|
+
Python and want to use the package(s) you are installing.)
|
|
1153
|
+
|
|
1154
|
+
* You can set up the installation directory to support ".pth" files by
|
|
1155
|
+
using one of the approaches described here:
|
|
1156
|
+
|
|
1157
|
+
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
|
|
1158
|
+
|
|
1159
|
+
Please make the appropriate changes for your system and try again."""
|
|
1160
|
+
return template % (self.install_dir, os.environ.get('PYTHONPATH',''))
|
|
1161
|
+
|
|
1162
|
+
def install_site_py(self):
|
|
1163
|
+
"""Make sure there's a site.py in the target dir, if needed"""
|
|
1164
|
+
|
|
1165
|
+
if self.sitepy_installed:
|
|
1166
|
+
return # already did it, or don't need to
|
|
1167
|
+
|
|
1168
|
+
sitepy = os.path.join(self.install_dir, "site.py")
|
|
1169
|
+
source = resource_string("setuptools", "site-patch.py")
|
|
1170
|
+
current = ""
|
|
1171
|
+
|
|
1172
|
+
if os.path.exists(sitepy):
|
|
1173
|
+
log.debug("Checking existing site.py in %s", self.install_dir)
|
|
1174
|
+
f = open(sitepy,'rb')
|
|
1175
|
+
current = f.read()
|
|
1176
|
+
# we want str, not bytes
|
|
1177
|
+
if sys.version_info >= (3,):
|
|
1178
|
+
current = current.decode()
|
|
1179
|
+
|
|
1180
|
+
f.close()
|
|
1181
|
+
if not current.startswith('def __boot():'):
|
|
1182
|
+
raise DistutilsError(
|
|
1183
|
+
"%s is not a setuptools-generated site.py; please"
|
|
1184
|
+
" remove it." % sitepy
|
|
1185
|
+
)
|
|
1186
|
+
|
|
1187
|
+
if current != source:
|
|
1188
|
+
log.info("Creating %s", sitepy)
|
|
1189
|
+
if not self.dry_run:
|
|
1190
|
+
ensure_directory(sitepy)
|
|
1191
|
+
f = open(sitepy,'wb')
|
|
1192
|
+
f.write(source)
|
|
1193
|
+
f.close()
|
|
1194
|
+
self.byte_compile([sitepy])
|
|
1195
|
+
|
|
1196
|
+
self.sitepy_installed = True
|
|
1197
|
+
|
|
1198
|
+
def create_home_path(self):
|
|
1199
|
+
"""Create directories under ~."""
|
|
1200
|
+
if not self.user:
|
|
1201
|
+
return
|
|
1202
|
+
home = convert_path(os.path.expanduser("~"))
|
|
1203
|
+
for name, path in iteritems(self.config_vars):
|
|
1204
|
+
if path.startswith(home) and not os.path.isdir(path):
|
|
1205
|
+
self.debug_print("os.makedirs('%s', 0700)" % path)
|
|
1206
|
+
os.makedirs(path, 0x1C0) # 0700
|
|
1207
|
+
|
|
1208
|
+
INSTALL_SCHEMES = dict(
|
|
1209
|
+
posix = dict(
|
|
1210
|
+
install_dir = '$base/lib/python$py_version_short/site-packages',
|
|
1211
|
+
script_dir = '$base/bin',
|
|
1212
|
+
),
|
|
1213
|
+
)
|
|
1214
|
+
|
|
1215
|
+
DEFAULT_SCHEME = dict(
|
|
1216
|
+
install_dir = '$base/Lib/site-packages',
|
|
1217
|
+
script_dir = '$base/Scripts',
|
|
1218
|
+
)
|
|
1219
|
+
|
|
1220
|
+
def _expand(self, *attrs):
|
|
1221
|
+
config_vars = self.get_finalized_command('install').config_vars
|
|
1222
|
+
|
|
1223
|
+
if self.prefix:
|
|
1224
|
+
# Set default install_dir/scripts from --prefix
|
|
1225
|
+
config_vars = config_vars.copy()
|
|
1226
|
+
config_vars['base'] = self.prefix
|
|
1227
|
+
scheme = self.INSTALL_SCHEMES.get(os.name,self.DEFAULT_SCHEME)
|
|
1228
|
+
for attr,val in scheme.items():
|
|
1229
|
+
if getattr(self,attr,None) is None:
|
|
1230
|
+
setattr(self,attr,val)
|
|
1231
|
+
|
|
1232
|
+
from distutils.util import subst_vars
|
|
1233
|
+
for attr in attrs:
|
|
1234
|
+
val = getattr(self, attr)
|
|
1235
|
+
if val is not None:
|
|
1236
|
+
val = subst_vars(val, config_vars)
|
|
1237
|
+
if os.name == 'posix':
|
|
1238
|
+
val = os.path.expanduser(val)
|
|
1239
|
+
setattr(self, attr, val)
|
|
1240
|
+
|
|
1241
|
+
def get_site_dirs():
|
|
1242
|
+
# return a list of 'site' dirs
|
|
1243
|
+
sitedirs = [_f for _f in os.environ.get('PYTHONPATH',
|
|
1244
|
+
'').split(os.pathsep) if _f]
|
|
1245
|
+
prefixes = [sys.prefix]
|
|
1246
|
+
if sys.exec_prefix != sys.prefix:
|
|
1247
|
+
prefixes.append(sys.exec_prefix)
|
|
1248
|
+
for prefix in prefixes:
|
|
1249
|
+
if prefix:
|
|
1250
|
+
if sys.platform in ('os2emx', 'riscos'):
|
|
1251
|
+
sitedirs.append(os.path.join(prefix, "Lib", "site-packages"))
|
|
1252
|
+
elif os.sep == '/':
|
|
1253
|
+
sitedirs.extend([os.path.join(prefix,
|
|
1254
|
+
"lib",
|
|
1255
|
+
"python" + sys.version[:3],
|
|
1256
|
+
"site-packages"),
|
|
1257
|
+
os.path.join(prefix, "lib", "site-python")])
|
|
1258
|
+
else:
|
|
1259
|
+
sitedirs.extend(
|
|
1260
|
+
[prefix, os.path.join(prefix, "lib", "site-packages")]
|
|
1261
|
+
)
|
|
1262
|
+
if sys.platform == 'darwin':
|
|
1263
|
+
# for framework builds *only* we add the standard Apple
|
|
1264
|
+
# locations. Currently only per-user, but /Library and
|
|
1265
|
+
# /Network/Library could be added too
|
|
1266
|
+
if 'Python.framework' in prefix:
|
|
1267
|
+
home = os.environ.get('HOME')
|
|
1268
|
+
if home:
|
|
1269
|
+
sitedirs.append(
|
|
1270
|
+
os.path.join(home,
|
|
1271
|
+
'Library',
|
|
1272
|
+
'Python',
|
|
1273
|
+
sys.version[:3],
|
|
1274
|
+
'site-packages'))
|
|
1275
|
+
lib_paths = get_path('purelib'), get_path('platlib')
|
|
1276
|
+
for site_lib in lib_paths:
|
|
1277
|
+
if site_lib not in sitedirs: sitedirs.append(site_lib)
|
|
1278
|
+
|
|
1279
|
+
if site.ENABLE_USER_SITE:
|
|
1280
|
+
sitedirs.append(site.USER_SITE)
|
|
1281
|
+
|
|
1282
|
+
sitedirs = list(map(normalize_path, sitedirs))
|
|
1283
|
+
|
|
1284
|
+
return sitedirs
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
def expand_paths(inputs):
|
|
1288
|
+
"""Yield sys.path directories that might contain "old-style" packages"""
|
|
1289
|
+
|
|
1290
|
+
seen = {}
|
|
1291
|
+
|
|
1292
|
+
for dirname in inputs:
|
|
1293
|
+
dirname = normalize_path(dirname)
|
|
1294
|
+
if dirname in seen:
|
|
1295
|
+
continue
|
|
1296
|
+
|
|
1297
|
+
seen[dirname] = 1
|
|
1298
|
+
if not os.path.isdir(dirname):
|
|
1299
|
+
continue
|
|
1300
|
+
|
|
1301
|
+
files = os.listdir(dirname)
|
|
1302
|
+
yield dirname, files
|
|
1303
|
+
|
|
1304
|
+
for name in files:
|
|
1305
|
+
if not name.endswith('.pth'):
|
|
1306
|
+
# We only care about the .pth files
|
|
1307
|
+
continue
|
|
1308
|
+
if name in ('easy-install.pth','setuptools.pth'):
|
|
1309
|
+
# Ignore .pth files that we control
|
|
1310
|
+
continue
|
|
1311
|
+
|
|
1312
|
+
# Read the .pth file
|
|
1313
|
+
f = open(os.path.join(dirname,name))
|
|
1314
|
+
lines = list(yield_lines(f))
|
|
1315
|
+
f.close()
|
|
1316
|
+
|
|
1317
|
+
# Yield existing non-dupe, non-import directory lines from it
|
|
1318
|
+
for line in lines:
|
|
1319
|
+
if not line.startswith("import"):
|
|
1320
|
+
line = normalize_path(line.rstrip())
|
|
1321
|
+
if line not in seen:
|
|
1322
|
+
seen[line] = 1
|
|
1323
|
+
if not os.path.isdir(line):
|
|
1324
|
+
continue
|
|
1325
|
+
yield line, os.listdir(line)
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
def extract_wininst_cfg(dist_filename):
|
|
1329
|
+
"""Extract configuration data from a bdist_wininst .exe
|
|
1330
|
+
|
|
1331
|
+
Returns a ConfigParser.RawConfigParser, or None
|
|
1332
|
+
"""
|
|
1333
|
+
f = open(dist_filename,'rb')
|
|
1334
|
+
try:
|
|
1335
|
+
endrec = zipfile._EndRecData(f)
|
|
1336
|
+
if endrec is None:
|
|
1337
|
+
return None
|
|
1338
|
+
|
|
1339
|
+
prepended = (endrec[9] - endrec[5]) - endrec[6]
|
|
1340
|
+
if prepended < 12: # no wininst data here
|
|
1341
|
+
return None
|
|
1342
|
+
f.seek(prepended-12)
|
|
1343
|
+
|
|
1344
|
+
from setuptools.compat import StringIO, ConfigParser
|
|
1345
|
+
import struct
|
|
1346
|
+
tag, cfglen, bmlen = struct.unpack("<iii",f.read(12))
|
|
1347
|
+
if tag not in (0x1234567A, 0x1234567B):
|
|
1348
|
+
return None # not a valid tag
|
|
1349
|
+
|
|
1350
|
+
f.seek(prepended-(12+cfglen))
|
|
1351
|
+
cfg = ConfigParser.RawConfigParser({'version':'','target_version':''})
|
|
1352
|
+
try:
|
|
1353
|
+
part = f.read(cfglen)
|
|
1354
|
+
# part is in bytes, but we need to read up to the first null
|
|
1355
|
+
# byte.
|
|
1356
|
+
if sys.version_info >= (2,6):
|
|
1357
|
+
null_byte = bytes([0])
|
|
1358
|
+
else:
|
|
1359
|
+
null_byte = chr(0)
|
|
1360
|
+
config = part.split(null_byte, 1)[0]
|
|
1361
|
+
# Now the config is in bytes, but for RawConfigParser, it should
|
|
1362
|
+
# be text, so decode it.
|
|
1363
|
+
config = config.decode(sys.getfilesystemencoding())
|
|
1364
|
+
cfg.readfp(StringIO(config))
|
|
1365
|
+
except ConfigParser.Error:
|
|
1366
|
+
return None
|
|
1367
|
+
if not cfg.has_section('metadata') or not cfg.has_section('Setup'):
|
|
1368
|
+
return None
|
|
1369
|
+
return cfg
|
|
1370
|
+
|
|
1371
|
+
finally:
|
|
1372
|
+
f.close()
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
def get_exe_prefixes(exe_filename):
|
|
1376
|
+
"""Get exe->egg path translations for a given .exe file"""
|
|
1377
|
+
|
|
1378
|
+
prefixes = [
|
|
1379
|
+
('PURELIB/', ''), ('PLATLIB/pywin32_system32', ''),
|
|
1380
|
+
('PLATLIB/', ''),
|
|
1381
|
+
('SCRIPTS/', 'EGG-INFO/scripts/'),
|
|
1382
|
+
('DATA/lib/site-packages', ''),
|
|
1383
|
+
]
|
|
1384
|
+
z = zipfile.ZipFile(exe_filename)
|
|
1385
|
+
try:
|
|
1386
|
+
for info in z.infolist():
|
|
1387
|
+
name = info.filename
|
|
1388
|
+
parts = name.split('/')
|
|
1389
|
+
if len(parts)==3 and parts[2]=='PKG-INFO':
|
|
1390
|
+
if parts[1].endswith('.egg-info'):
|
|
1391
|
+
prefixes.insert(0,('/'.join(parts[:2]), 'EGG-INFO/'))
|
|
1392
|
+
break
|
|
1393
|
+
if len(parts) != 2 or not name.endswith('.pth'):
|
|
1394
|
+
continue
|
|
1395
|
+
if name.endswith('-nspkg.pth'):
|
|
1396
|
+
continue
|
|
1397
|
+
if parts[0].upper() in ('PURELIB','PLATLIB'):
|
|
1398
|
+
contents = z.read(name)
|
|
1399
|
+
if sys.version_info >= (3,):
|
|
1400
|
+
contents = contents.decode()
|
|
1401
|
+
for pth in yield_lines(contents):
|
|
1402
|
+
pth = pth.strip().replace('\\','/')
|
|
1403
|
+
if not pth.startswith('import'):
|
|
1404
|
+
prefixes.append((('%s/%s/' % (parts[0],pth)), ''))
|
|
1405
|
+
finally:
|
|
1406
|
+
z.close()
|
|
1407
|
+
prefixes = [(x.lower(),y) for x, y in prefixes]
|
|
1408
|
+
prefixes.sort()
|
|
1409
|
+
prefixes.reverse()
|
|
1410
|
+
return prefixes
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
def parse_requirement_arg(spec):
|
|
1414
|
+
try:
|
|
1415
|
+
return Requirement.parse(spec)
|
|
1416
|
+
except ValueError:
|
|
1417
|
+
raise DistutilsError(
|
|
1418
|
+
"Not a URL, existing file, or requirement spec: %r" % (spec,)
|
|
1419
|
+
)
|
|
1420
|
+
|
|
1421
|
+
class PthDistributions(Environment):
|
|
1422
|
+
"""A .pth file with Distribution paths in it"""
|
|
1423
|
+
|
|
1424
|
+
dirty = False
|
|
1425
|
+
|
|
1426
|
+
def __init__(self, filename, sitedirs=()):
|
|
1427
|
+
self.filename = filename
|
|
1428
|
+
self.sitedirs = list(map(normalize_path, sitedirs))
|
|
1429
|
+
self.basedir = normalize_path(os.path.dirname(self.filename))
|
|
1430
|
+
self._load()
|
|
1431
|
+
Environment.__init__(self, [], None, None)
|
|
1432
|
+
for path in yield_lines(self.paths):
|
|
1433
|
+
list(map(self.add, find_distributions(path, True)))
|
|
1434
|
+
|
|
1435
|
+
def _load(self):
|
|
1436
|
+
self.paths = []
|
|
1437
|
+
saw_import = False
|
|
1438
|
+
seen = dict.fromkeys(self.sitedirs)
|
|
1439
|
+
if os.path.isfile(self.filename):
|
|
1440
|
+
f = open(self.filename,'rt')
|
|
1441
|
+
for line in f:
|
|
1442
|
+
if line.startswith('import'):
|
|
1443
|
+
saw_import = True
|
|
1444
|
+
continue
|
|
1445
|
+
path = line.rstrip()
|
|
1446
|
+
self.paths.append(path)
|
|
1447
|
+
if not path.strip() or path.strip().startswith('#'):
|
|
1448
|
+
continue
|
|
1449
|
+
# skip non-existent paths, in case somebody deleted a package
|
|
1450
|
+
# manually, and duplicate paths as well
|
|
1451
|
+
path = self.paths[-1] = normalize_path(
|
|
1452
|
+
os.path.join(self.basedir,path)
|
|
1453
|
+
)
|
|
1454
|
+
if not os.path.exists(path) or path in seen:
|
|
1455
|
+
self.paths.pop() # skip it
|
|
1456
|
+
self.dirty = True # we cleaned up, so we're dirty now :)
|
|
1457
|
+
continue
|
|
1458
|
+
seen[path] = 1
|
|
1459
|
+
f.close()
|
|
1460
|
+
|
|
1461
|
+
if self.paths and not saw_import:
|
|
1462
|
+
self.dirty = True # ensure anything we touch has import wrappers
|
|
1463
|
+
while self.paths and not self.paths[-1].strip():
|
|
1464
|
+
self.paths.pop()
|
|
1465
|
+
|
|
1466
|
+
def save(self):
|
|
1467
|
+
"""Write changed .pth file back to disk"""
|
|
1468
|
+
if not self.dirty:
|
|
1469
|
+
return
|
|
1470
|
+
|
|
1471
|
+
data = '\n'.join(map(self.make_relative,self.paths))
|
|
1472
|
+
if data:
|
|
1473
|
+
log.debug("Saving %s", self.filename)
|
|
1474
|
+
data = (
|
|
1475
|
+
"import sys; sys.__plen = len(sys.path)\n"
|
|
1476
|
+
"%s\n"
|
|
1477
|
+
"import sys; new=sys.path[sys.__plen:];"
|
|
1478
|
+
" del sys.path[sys.__plen:];"
|
|
1479
|
+
" p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;"
|
|
1480
|
+
" sys.__egginsert = p+len(new)\n"
|
|
1481
|
+
) % data
|
|
1482
|
+
|
|
1483
|
+
if os.path.islink(self.filename):
|
|
1484
|
+
os.unlink(self.filename)
|
|
1485
|
+
f = open(self.filename,'wt')
|
|
1486
|
+
f.write(data)
|
|
1487
|
+
f.close()
|
|
1488
|
+
|
|
1489
|
+
elif os.path.exists(self.filename):
|
|
1490
|
+
log.debug("Deleting empty %s", self.filename)
|
|
1491
|
+
os.unlink(self.filename)
|
|
1492
|
+
|
|
1493
|
+
self.dirty = False
|
|
1494
|
+
|
|
1495
|
+
def add(self, dist):
|
|
1496
|
+
"""Add `dist` to the distribution map"""
|
|
1497
|
+
if (dist.location not in self.paths and (
|
|
1498
|
+
dist.location not in self.sitedirs or
|
|
1499
|
+
dist.location == os.getcwd() # account for '.' being in PYTHONPATH
|
|
1500
|
+
)):
|
|
1501
|
+
self.paths.append(dist.location)
|
|
1502
|
+
self.dirty = True
|
|
1503
|
+
Environment.add(self, dist)
|
|
1504
|
+
|
|
1505
|
+
def remove(self, dist):
|
|
1506
|
+
"""Remove `dist` from the distribution map"""
|
|
1507
|
+
while dist.location in self.paths:
|
|
1508
|
+
self.paths.remove(dist.location)
|
|
1509
|
+
self.dirty = True
|
|
1510
|
+
Environment.remove(self, dist)
|
|
1511
|
+
|
|
1512
|
+
def make_relative(self,path):
|
|
1513
|
+
npath, last = os.path.split(normalize_path(path))
|
|
1514
|
+
baselen = len(self.basedir)
|
|
1515
|
+
parts = [last]
|
|
1516
|
+
sep = os.altsep=='/' and '/' or os.sep
|
|
1517
|
+
while len(npath)>=baselen:
|
|
1518
|
+
if npath==self.basedir:
|
|
1519
|
+
parts.append(os.curdir)
|
|
1520
|
+
parts.reverse()
|
|
1521
|
+
return sep.join(parts)
|
|
1522
|
+
npath, last = os.path.split(npath)
|
|
1523
|
+
parts.append(last)
|
|
1524
|
+
else:
|
|
1525
|
+
return path
|
|
1526
|
+
|
|
1527
|
+
def get_script_header(script_text, executable=sys_executable, wininst=False):
|
|
1528
|
+
"""Create a #! line, getting options (if any) from script_text"""
|
|
1529
|
+
from distutils.command.build_scripts import first_line_re
|
|
1530
|
+
|
|
1531
|
+
# first_line_re in Python >=3.1.4 and >=3.2.1 is a bytes pattern.
|
|
1532
|
+
if not isinstance(first_line_re.pattern, str):
|
|
1533
|
+
first_line_re = re.compile(first_line_re.pattern.decode())
|
|
1534
|
+
|
|
1535
|
+
first = (script_text+'\n').splitlines()[0]
|
|
1536
|
+
match = first_line_re.match(first)
|
|
1537
|
+
options = ''
|
|
1538
|
+
if match:
|
|
1539
|
+
options = match.group(1) or ''
|
|
1540
|
+
if options: options = ' '+options
|
|
1541
|
+
if wininst:
|
|
1542
|
+
executable = "python.exe"
|
|
1543
|
+
else:
|
|
1544
|
+
executable = nt_quote_arg(executable)
|
|
1545
|
+
hdr = "#!%(executable)s%(options)s\n" % locals()
|
|
1546
|
+
if not isascii(hdr):
|
|
1547
|
+
# Non-ascii path to sys.executable, use -x to prevent warnings
|
|
1548
|
+
if options:
|
|
1549
|
+
if options.strip().startswith('-'):
|
|
1550
|
+
options = ' -x'+options.strip()[1:]
|
|
1551
|
+
# else: punt, we can't do it, let the warning happen anyway
|
|
1552
|
+
else:
|
|
1553
|
+
options = ' -x'
|
|
1554
|
+
executable = fix_jython_executable(executable, options)
|
|
1555
|
+
hdr = "#!%(executable)s%(options)s\n" % locals()
|
|
1556
|
+
return hdr
|
|
1557
|
+
|
|
1558
|
+
def auto_chmod(func, arg, exc):
|
|
1559
|
+
if func is os.remove and os.name=='nt':
|
|
1560
|
+
chmod(arg, stat.S_IWRITE)
|
|
1561
|
+
return func(arg)
|
|
1562
|
+
et, ev, _ = sys.exc_info()
|
|
1563
|
+
reraise(et, (ev[0], ev[1] + (" %s %s" % (func,arg))))
|
|
1564
|
+
|
|
1565
|
+
def uncache_zipdir(path):
|
|
1566
|
+
"""Ensure that the importer caches dont have stale info for `path`"""
|
|
1567
|
+
from zipimport import _zip_directory_cache as zdc
|
|
1568
|
+
_uncache(path, zdc)
|
|
1569
|
+
_uncache(path, sys.path_importer_cache)
|
|
1570
|
+
|
|
1571
|
+
def _uncache(path, cache):
|
|
1572
|
+
if path in cache:
|
|
1573
|
+
del cache[path]
|
|
1574
|
+
else:
|
|
1575
|
+
path = normalize_path(path)
|
|
1576
|
+
for p in cache:
|
|
1577
|
+
if normalize_path(p)==path:
|
|
1578
|
+
del cache[p]
|
|
1579
|
+
return
|
|
1580
|
+
|
|
1581
|
+
def is_python(text, filename='<string>'):
|
|
1582
|
+
"Is this string a valid Python script?"
|
|
1583
|
+
try:
|
|
1584
|
+
compile(text, filename, 'exec')
|
|
1585
|
+
except (SyntaxError, TypeError):
|
|
1586
|
+
return False
|
|
1587
|
+
else:
|
|
1588
|
+
return True
|
|
1589
|
+
|
|
1590
|
+
def is_sh(executable):
|
|
1591
|
+
"""Determine if the specified executable is a .sh (contains a #! line)"""
|
|
1592
|
+
try:
|
|
1593
|
+
fp = open(executable)
|
|
1594
|
+
magic = fp.read(2)
|
|
1595
|
+
fp.close()
|
|
1596
|
+
except (OSError,IOError): return executable
|
|
1597
|
+
return magic == '#!'
|
|
1598
|
+
|
|
1599
|
+
def nt_quote_arg(arg):
|
|
1600
|
+
"""Quote a command line argument according to Windows parsing rules"""
|
|
1601
|
+
|
|
1602
|
+
result = []
|
|
1603
|
+
needquote = False
|
|
1604
|
+
nb = 0
|
|
1605
|
+
|
|
1606
|
+
needquote = (" " in arg) or ("\t" in arg)
|
|
1607
|
+
if needquote:
|
|
1608
|
+
result.append('"')
|
|
1609
|
+
|
|
1610
|
+
for c in arg:
|
|
1611
|
+
if c == '\\':
|
|
1612
|
+
nb += 1
|
|
1613
|
+
elif c == '"':
|
|
1614
|
+
# double preceding backslashes, then add a \"
|
|
1615
|
+
result.append('\\' * (nb*2) + '\\"')
|
|
1616
|
+
nb = 0
|
|
1617
|
+
else:
|
|
1618
|
+
if nb:
|
|
1619
|
+
result.append('\\' * nb)
|
|
1620
|
+
nb = 0
|
|
1621
|
+
result.append(c)
|
|
1622
|
+
|
|
1623
|
+
if nb:
|
|
1624
|
+
result.append('\\' * nb)
|
|
1625
|
+
|
|
1626
|
+
if needquote:
|
|
1627
|
+
result.append('\\' * nb) # double the trailing backslashes
|
|
1628
|
+
result.append('"')
|
|
1629
|
+
|
|
1630
|
+
return ''.join(result)
|
|
1631
|
+
|
|
1632
|
+
def is_python_script(script_text, filename):
|
|
1633
|
+
"""Is this text, as a whole, a Python script? (as opposed to shell/bat/etc.
|
|
1634
|
+
"""
|
|
1635
|
+
if filename.endswith('.py') or filename.endswith('.pyw'):
|
|
1636
|
+
return True # extension says it's Python
|
|
1637
|
+
if is_python(script_text, filename):
|
|
1638
|
+
return True # it's syntactically valid Python
|
|
1639
|
+
if script_text.startswith('#!'):
|
|
1640
|
+
# It begins with a '#!' line, so check if 'python' is in it somewhere
|
|
1641
|
+
return 'python' in script_text.splitlines()[0].lower()
|
|
1642
|
+
|
|
1643
|
+
return False # Not any Python I can recognize
|
|
1644
|
+
|
|
1645
|
+
try:
|
|
1646
|
+
from os import chmod as _chmod
|
|
1647
|
+
except ImportError:
|
|
1648
|
+
# Jython compatibility
|
|
1649
|
+
def _chmod(*args): pass
|
|
1650
|
+
|
|
1651
|
+
def chmod(path, mode):
|
|
1652
|
+
log.debug("changing mode of %s to %o", path, mode)
|
|
1653
|
+
try:
|
|
1654
|
+
_chmod(path, mode)
|
|
1655
|
+
except os.error:
|
|
1656
|
+
e = sys.exc_info()[1]
|
|
1657
|
+
log.debug("chmod failed: %s", e)
|
|
1658
|
+
|
|
1659
|
+
def fix_jython_executable(executable, options):
|
|
1660
|
+
if sys.platform.startswith('java') and is_sh(executable):
|
|
1661
|
+
# Workaround for Jython is not needed on Linux systems.
|
|
1662
|
+
import java
|
|
1663
|
+
if java.lang.System.getProperty("os.name") == "Linux":
|
|
1664
|
+
return executable
|
|
1665
|
+
|
|
1666
|
+
# Workaround Jython's sys.executable being a .sh (an invalid
|
|
1667
|
+
# shebang line interpreter)
|
|
1668
|
+
if options:
|
|
1669
|
+
# Can't apply the workaround, leave it broken
|
|
1670
|
+
log.warn(
|
|
1671
|
+
"WARNING: Unable to adapt shebang line for Jython,"
|
|
1672
|
+
" the following script is NOT executable\n"
|
|
1673
|
+
" see http://bugs.jython.org/issue1112 for"
|
|
1674
|
+
" more information.")
|
|
1675
|
+
else:
|
|
1676
|
+
return '/usr/bin/env %s' % executable
|
|
1677
|
+
return executable
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
class ScriptWriter(object):
|
|
1681
|
+
"""
|
|
1682
|
+
Encapsulates behavior around writing entry point scripts for console and
|
|
1683
|
+
gui apps.
|
|
1684
|
+
"""
|
|
1685
|
+
|
|
1686
|
+
template = textwrap.dedent("""
|
|
1687
|
+
# EASY-INSTALL-ENTRY-SCRIPT: %(spec)r,%(group)r,%(name)r
|
|
1688
|
+
__requires__ = %(spec)r
|
|
1689
|
+
import sys
|
|
1690
|
+
from pkg_resources import load_entry_point
|
|
1691
|
+
|
|
1692
|
+
if __name__ == '__main__':
|
|
1693
|
+
sys.exit(
|
|
1694
|
+
load_entry_point(%(spec)r, %(group)r, %(name)r)()
|
|
1695
|
+
)
|
|
1696
|
+
""").lstrip()
|
|
1697
|
+
|
|
1698
|
+
@classmethod
|
|
1699
|
+
def get_script_args(cls, dist, executable=sys_executable, wininst=False):
|
|
1700
|
+
"""
|
|
1701
|
+
Yield write_script() argument tuples for a distribution's entrypoints
|
|
1702
|
+
"""
|
|
1703
|
+
gen_class = cls.get_writer(wininst)
|
|
1704
|
+
spec = str(dist.as_requirement())
|
|
1705
|
+
header = get_script_header("", executable, wininst)
|
|
1706
|
+
for type_ in 'console', 'gui':
|
|
1707
|
+
group = type_ + '_scripts'
|
|
1708
|
+
for name, ep in dist.get_entry_map(group).items():
|
|
1709
|
+
script_text = gen_class.template % locals()
|
|
1710
|
+
for res in gen_class._get_script_args(type_, name, header,
|
|
1711
|
+
script_text):
|
|
1712
|
+
yield res
|
|
1713
|
+
|
|
1714
|
+
@classmethod
|
|
1715
|
+
def get_writer(cls, force_windows):
|
|
1716
|
+
if force_windows or sys.platform=='win32':
|
|
1717
|
+
return WindowsScriptWriter.get_writer()
|
|
1718
|
+
return cls
|
|
1719
|
+
|
|
1720
|
+
@classmethod
|
|
1721
|
+
def _get_script_args(cls, type_, name, header, script_text):
|
|
1722
|
+
# Simply write the stub with no extension.
|
|
1723
|
+
yield (name, header+script_text)
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
class WindowsScriptWriter(ScriptWriter):
|
|
1727
|
+
@classmethod
|
|
1728
|
+
def get_writer(cls):
|
|
1729
|
+
"""
|
|
1730
|
+
Get a script writer suitable for Windows
|
|
1731
|
+
"""
|
|
1732
|
+
writer_lookup = dict(
|
|
1733
|
+
executable=WindowsExecutableLauncherWriter,
|
|
1734
|
+
natural=cls,
|
|
1735
|
+
)
|
|
1736
|
+
# for compatibility, use the executable launcher by default
|
|
1737
|
+
launcher = os.environ.get('SETUPTOOLS_LAUNCHER', 'executable')
|
|
1738
|
+
return writer_lookup[launcher]
|
|
1739
|
+
|
|
1740
|
+
@classmethod
|
|
1741
|
+
def _get_script_args(cls, type_, name, header, script_text):
|
|
1742
|
+
"For Windows, add a .py extension"
|
|
1743
|
+
ext = dict(console='.pya', gui='.pyw')[type_]
|
|
1744
|
+
if ext not in os.environ['PATHEXT'].lower().split(';'):
|
|
1745
|
+
warnings.warn("%s not listed in PATHEXT; scripts will not be "
|
|
1746
|
+
"recognized as executables." % ext, UserWarning)
|
|
1747
|
+
old = ['.pya', '.py', '-script.py', '.pyc', '.pyo', '.pyw', '.exe']
|
|
1748
|
+
old.remove(ext)
|
|
1749
|
+
header = cls._adjust_header(type_, header)
|
|
1750
|
+
blockers = [name+x for x in old]
|
|
1751
|
+
yield name+ext, header+script_text, 't', blockers
|
|
1752
|
+
|
|
1753
|
+
@staticmethod
|
|
1754
|
+
def _adjust_header(type_, orig_header):
|
|
1755
|
+
"""
|
|
1756
|
+
Make sure 'pythonw' is used for gui and and 'python' is used for
|
|
1757
|
+
console (regardless of what sys.executable is).
|
|
1758
|
+
"""
|
|
1759
|
+
pattern = 'pythonw.exe'
|
|
1760
|
+
repl = 'python.exe'
|
|
1761
|
+
if type_ == 'gui':
|
|
1762
|
+
pattern, repl = repl, pattern
|
|
1763
|
+
pattern_ob = re.compile(re.escape(pattern), re.IGNORECASE)
|
|
1764
|
+
new_header = pattern_ob.sub(string=orig_header, repl=repl)
|
|
1765
|
+
clean_header = new_header[2:-1].strip('"')
|
|
1766
|
+
if sys.platform == 'win32' and not os.path.exists(clean_header):
|
|
1767
|
+
# the adjusted version doesn't exist, so return the original
|
|
1768
|
+
return orig_header
|
|
1769
|
+
return new_header
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
class WindowsExecutableLauncherWriter(WindowsScriptWriter):
|
|
1773
|
+
@classmethod
|
|
1774
|
+
def _get_script_args(cls, type_, name, header, script_text):
|
|
1775
|
+
"""
|
|
1776
|
+
For Windows, add a .py extension and an .exe launcher
|
|
1777
|
+
"""
|
|
1778
|
+
if type_=='gui':
|
|
1779
|
+
launcher_type = 'gui'
|
|
1780
|
+
ext = '-script.pyw'
|
|
1781
|
+
old = ['.pyw']
|
|
1782
|
+
else:
|
|
1783
|
+
launcher_type = 'cli'
|
|
1784
|
+
ext = '-script.py'
|
|
1785
|
+
old = ['.py','.pyc','.pyo']
|
|
1786
|
+
hdr = cls._adjust_header(type_, header)
|
|
1787
|
+
blockers = [name+x for x in old]
|
|
1788
|
+
yield (name+ext, hdr+script_text, 't', blockers)
|
|
1789
|
+
yield (
|
|
1790
|
+
name+'.exe', get_win_launcher(launcher_type),
|
|
1791
|
+
'b' # write in binary mode
|
|
1792
|
+
)
|
|
1793
|
+
if not is_64bit():
|
|
1794
|
+
# install a manifest for the launcher to prevent Windows
|
|
1795
|
+
# from detecting it as an installer (which it will for
|
|
1796
|
+
# launchers like easy_install.exe). Consider only
|
|
1797
|
+
# adding a manifest for launchers detected as installers.
|
|
1798
|
+
# See Distribute #143 for details.
|
|
1799
|
+
m_name = name + '.exe.manifest'
|
|
1800
|
+
yield (m_name, load_launcher_manifest(name), 't')
|
|
1801
|
+
|
|
1802
|
+
# for backward-compatibility
|
|
1803
|
+
get_script_args = ScriptWriter.get_script_args
|
|
1804
|
+
|
|
1805
|
+
def get_win_launcher(type):
|
|
1806
|
+
"""
|
|
1807
|
+
Load the Windows launcher (executable) suitable for launching a script.
|
|
1808
|
+
|
|
1809
|
+
`type` should be either 'cli' or 'gui'
|
|
1810
|
+
|
|
1811
|
+
Returns the executable as a byte string.
|
|
1812
|
+
"""
|
|
1813
|
+
launcher_fn = '%s.exe' % type
|
|
1814
|
+
if platform.machine().lower()=='arm':
|
|
1815
|
+
launcher_fn = launcher_fn.replace(".", "-arm.")
|
|
1816
|
+
if is_64bit():
|
|
1817
|
+
launcher_fn = launcher_fn.replace(".", "-64.")
|
|
1818
|
+
else:
|
|
1819
|
+
launcher_fn = launcher_fn.replace(".", "-32.")
|
|
1820
|
+
return resource_string('setuptools', launcher_fn)
|
|
1821
|
+
|
|
1822
|
+
def load_launcher_manifest(name):
|
|
1823
|
+
manifest = pkg_resources.resource_string(__name__, 'launcher manifest.xml')
|
|
1824
|
+
if sys.version_info[0] < 3:
|
|
1825
|
+
return manifest % vars()
|
|
1826
|
+
else:
|
|
1827
|
+
return manifest.decode('utf-8') % vars()
|
|
1828
|
+
|
|
1829
|
+
def rmtree(path, ignore_errors=False, onerror=auto_chmod):
|
|
1830
|
+
"""Recursively delete a directory tree.
|
|
1831
|
+
|
|
1832
|
+
This code is taken from the Python 2.4 version of 'shutil', because
|
|
1833
|
+
the 2.3 version doesn't really work right.
|
|
1834
|
+
"""
|
|
1835
|
+
if ignore_errors:
|
|
1836
|
+
def onerror(*args):
|
|
1837
|
+
pass
|
|
1838
|
+
elif onerror is None:
|
|
1839
|
+
def onerror(*args):
|
|
1840
|
+
raise
|
|
1841
|
+
names = []
|
|
1842
|
+
try:
|
|
1843
|
+
names = os.listdir(path)
|
|
1844
|
+
except os.error:
|
|
1845
|
+
onerror(os.listdir, path, sys.exc_info())
|
|
1846
|
+
for name in names:
|
|
1847
|
+
fullname = os.path.join(path, name)
|
|
1848
|
+
try:
|
|
1849
|
+
mode = os.lstat(fullname).st_mode
|
|
1850
|
+
except os.error:
|
|
1851
|
+
mode = 0
|
|
1852
|
+
if stat.S_ISDIR(mode):
|
|
1853
|
+
rmtree(fullname, ignore_errors, onerror)
|
|
1854
|
+
else:
|
|
1855
|
+
try:
|
|
1856
|
+
os.remove(fullname)
|
|
1857
|
+
except os.error:
|
|
1858
|
+
onerror(os.remove, fullname, sys.exc_info())
|
|
1859
|
+
try:
|
|
1860
|
+
os.rmdir(path)
|
|
1861
|
+
except os.error:
|
|
1862
|
+
onerror(os.rmdir, path, sys.exc_info())
|
|
1863
|
+
|
|
1864
|
+
def current_umask():
|
|
1865
|
+
tmp = os.umask(0x12) # 022
|
|
1866
|
+
os.umask(tmp)
|
|
1867
|
+
return tmp
|
|
1868
|
+
|
|
1869
|
+
def bootstrap():
|
|
1870
|
+
# This function is called when setuptools*.egg is run using /bin/sh
|
|
1871
|
+
import setuptools
|
|
1872
|
+
argv0 = os.path.dirname(setuptools.__path__[0])
|
|
1873
|
+
sys.argv[0] = argv0
|
|
1874
|
+
sys.argv.append(argv0)
|
|
1875
|
+
main()
|
|
1876
|
+
|
|
1877
|
+
def main(argv=None, **kw):
|
|
1878
|
+
from setuptools import setup
|
|
1879
|
+
from setuptools.dist import Distribution
|
|
1880
|
+
import distutils.core
|
|
1881
|
+
|
|
1882
|
+
USAGE = """\
|
|
1883
|
+
usage: %(script)s [options] requirement_or_url ...
|
|
1884
|
+
or: %(script)s --help
|
|
1885
|
+
"""
|
|
1886
|
+
|
|
1887
|
+
def gen_usage(script_name):
|
|
1888
|
+
return USAGE % dict(
|
|
1889
|
+
script=os.path.basename(script_name),
|
|
1890
|
+
)
|
|
1891
|
+
|
|
1892
|
+
def with_ei_usage(f):
|
|
1893
|
+
old_gen_usage = distutils.core.gen_usage
|
|
1894
|
+
try:
|
|
1895
|
+
distutils.core.gen_usage = gen_usage
|
|
1896
|
+
return f()
|
|
1897
|
+
finally:
|
|
1898
|
+
distutils.core.gen_usage = old_gen_usage
|
|
1899
|
+
|
|
1900
|
+
class DistributionWithoutHelpCommands(Distribution):
|
|
1901
|
+
common_usage = ""
|
|
1902
|
+
|
|
1903
|
+
def _show_help(self,*args,**kw):
|
|
1904
|
+
with_ei_usage(lambda: Distribution._show_help(self,*args,**kw))
|
|
1905
|
+
|
|
1906
|
+
if argv is None:
|
|
1907
|
+
argv = sys.argv[1:]
|
|
1908
|
+
|
|
1909
|
+
with_ei_usage(lambda:
|
|
1910
|
+
setup(
|
|
1911
|
+
script_args = ['-q','easy_install', '-v']+argv,
|
|
1912
|
+
script_name = sys.argv[0] or 'easy_install',
|
|
1913
|
+
distclass=DistributionWithoutHelpCommands, **kw
|
|
1914
|
+
)
|
|
1915
|
+
)
|