diff options
| author | yum <yum.food.vr@gmail.com> | 2023-01-01 21:05:27 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-01-01 21:44:45 -0800 |
| commit | e25bdba3a3a53b09be5269d8b065c13b73ab55c3 (patch) | |
| tree | 1d1dc1d94cde92c2f4f8ce86017395054787515d /Python/Dependencies/future-0.18.2/src/future/moves | |
| parent | 0d408cc812a094a708edbe4baf536e928731cfc3 (diff) | |
Embed git in package
package.ps1 fetches PortableGit and embeds it in the package. This
eliminates all but one runtime dependency (MSVC++ Redistributable).
* Move Python into a new FOSS folder.
Diffstat (limited to 'Python/Dependencies/future-0.18.2/src/future/moves')
52 files changed, 0 insertions, 656 deletions
diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/__init__.py deleted file mode 100644 index 0cd60d3..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/__init__.py +++ /dev/null @@ -1,8 +0,0 @@ -# future.moves package -from __future__ import absolute_import -import sys -__future_module__ = True -from future.standard_library import import_top_level_modules - -if sys.version_info[0] >= 3: - import_top_level_modules() diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/_dummy_thread.py b/Python/Dependencies/future-0.18.2/src/future/moves/_dummy_thread.py deleted file mode 100644 index 688d249..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/_dummy_thread.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from _dummy_thread import * -else: - __future_module__ = True - from dummy_thread import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/_markupbase.py b/Python/Dependencies/future-0.18.2/src/future/moves/_markupbase.py deleted file mode 100644 index f9fb4bb..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/_markupbase.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from _markupbase import * -else: - __future_module__ = True - from markupbase import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/_thread.py b/Python/Dependencies/future-0.18.2/src/future/moves/_thread.py deleted file mode 100644 index c68018b..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/_thread.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from _thread import * -else: - __future_module__ = True - from thread import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/builtins.py b/Python/Dependencies/future-0.18.2/src/future/moves/builtins.py deleted file mode 100644 index e4b6221..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/builtins.py +++ /dev/null @@ -1,10 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from builtins import * -else: - __future_module__ = True - from __builtin__ import * - # Overwrite any old definitions with the equivalent future.builtins ones: - from future.builtins import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/collections.py b/Python/Dependencies/future-0.18.2/src/future/moves/collections.py deleted file mode 100644 index 664ee6a..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/collections.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import absolute_import -import sys - -from future.utils import PY2, PY26 -__future_module__ = True - -from collections import * - -if PY2: - from UserDict import UserDict - from UserList import UserList - from UserString import UserString - -if PY26: - from future.backports.misc import OrderedDict, Counter - -if sys.version_info < (3, 3): - from future.backports.misc import ChainMap, _count_elements diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/configparser.py b/Python/Dependencies/future-0.18.2/src/future/moves/configparser.py deleted file mode 100644 index 33d9cf9..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/configparser.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY2 - -if PY2: - from ConfigParser import * -else: - from configparser import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/copyreg.py b/Python/Dependencies/future-0.18.2/src/future/moves/copyreg.py deleted file mode 100644 index 9d08cdc..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/copyreg.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - import copyreg, sys - # A "*" import uses Python 3's copyreg.__all__ which does not include - # all public names in the API surface for copyreg, this avoids that - # problem by just making our module _be_ a reference to the actual module. - sys.modules['future.moves.copyreg'] = copyreg -else: - __future_module__ = True - from copy_reg import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/dbm/__init__.py deleted file mode 100644 index 626b406..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from dbm import * -else: - __future_module__ = True - from whichdb import * - from anydbm import * - -# Py3.3's dbm/__init__.py imports ndbm but doesn't expose it via __all__. -# In case some (badly written) code depends on dbm.ndbm after import dbm, -# we simulate this: -if PY3: - from dbm import ndbm -else: - try: - from future.moves.dbm import ndbm - except ImportError: - ndbm = None diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/dumb.py b/Python/Dependencies/future-0.18.2/src/future/moves/dbm/dumb.py deleted file mode 100644 index 528383f..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/dumb.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from dbm.dumb import * -else: - __future_module__ = True - from dumbdbm import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/gnu.py b/Python/Dependencies/future-0.18.2/src/future/moves/dbm/gnu.py deleted file mode 100644 index 68ccf67..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/gnu.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from dbm.gnu import * -else: - __future_module__ = True - from gdbm import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/ndbm.py b/Python/Dependencies/future-0.18.2/src/future/moves/dbm/ndbm.py deleted file mode 100644 index 8c6fff8..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/dbm/ndbm.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from dbm.ndbm import * -else: - __future_module__ = True - from dbm import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/html/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/html/__init__.py deleted file mode 100644 index 22ed6e7..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/html/__init__.py +++ /dev/null @@ -1,31 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 -__future_module__ = True - -if PY3: - from html import * -else: - # cgi.escape isn't good enough for the single Py3.3 html test to pass. - # Define it inline here instead. From the Py3.4 stdlib. Note that the - # html.escape() function from the Py3.3 stdlib is not suitable for use on - # Py2.x. - """ - General functions for HTML manipulation. - """ - - def escape(s, quote=True): - """ - Replace special characters "&", "<" and ">" to HTML-safe sequences. - If the optional flag quote is true (the default), the quotation mark - characters, both double quote (") and single quote (') characters are also - translated. - """ - s = s.replace("&", "&") # Must be done first! - s = s.replace("<", "<") - s = s.replace(">", ">") - if quote: - s = s.replace('"', """) - s = s.replace('\'', "'") - return s - - __all__ = ['escape'] diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/html/entities.py b/Python/Dependencies/future-0.18.2/src/future/moves/html/entities.py deleted file mode 100644 index 56a8860..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/html/entities.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from html.entities import * -else: - __future_module__ = True - from htmlentitydefs import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/html/parser.py b/Python/Dependencies/future-0.18.2/src/future/moves/html/parser.py deleted file mode 100644 index a6115b5..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/html/parser.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 -__future_module__ = True - -if PY3: - from html.parser import * -else: - from HTMLParser import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/http/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/http/__init__.py deleted file mode 100644 index 917b3d7..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/http/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -from future.utils import PY3 - -if not PY3: - __future_module__ = True diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/http/client.py b/Python/Dependencies/future-0.18.2/src/future/moves/http/client.py deleted file mode 100644 index 55f9c9c..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/http/client.py +++ /dev/null @@ -1,8 +0,0 @@ -from future.utils import PY3 - -if PY3: - from http.client import * -else: - from httplib import * - from httplib import HTTPMessage - __future_module__ = True diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/http/cookiejar.py b/Python/Dependencies/future-0.18.2/src/future/moves/http/cookiejar.py deleted file mode 100644 index ea00df7..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/http/cookiejar.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from http.cookiejar import * -else: - __future_module__ = True - from cookielib import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/http/cookies.py b/Python/Dependencies/future-0.18.2/src/future/moves/http/cookies.py deleted file mode 100644 index 1b74fe2..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/http/cookies.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from http.cookies import * -else: - __future_module__ = True - from Cookie import * - from Cookie import Morsel # left out of __all__ on Py2.7! diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/http/server.py b/Python/Dependencies/future-0.18.2/src/future/moves/http/server.py deleted file mode 100644 index 4e75cc1..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/http/server.py +++ /dev/null @@ -1,20 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from http.server import * -else: - __future_module__ = True - from BaseHTTPServer import * - from CGIHTTPServer import * - from SimpleHTTPServer import * - try: - from CGIHTTPServer import _url_collapse_path # needed for a test - except ImportError: - try: - # Python 2.7.0 to 2.7.3 - from CGIHTTPServer import ( - _url_collapse_path_split as _url_collapse_path) - except ImportError: - # Doesn't exist on Python 2.6.x. Ignore it. - pass diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/itertools.py b/Python/Dependencies/future-0.18.2/src/future/moves/itertools.py deleted file mode 100644 index e5eb20d..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/itertools.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import - -from itertools import * -try: - zip_longest = izip_longest - filterfalse = ifilterfalse -except NameError: - pass diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/pickle.py b/Python/Dependencies/future-0.18.2/src/future/moves/pickle.py deleted file mode 100644 index c53d693..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/pickle.py +++ /dev/null @@ -1,11 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from pickle import * -else: - __future_module__ = True - try: - from cPickle import * - except ImportError: - from pickle import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/queue.py b/Python/Dependencies/future-0.18.2/src/future/moves/queue.py deleted file mode 100644 index 1cb1437..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/queue.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from queue import * -else: - __future_module__ = True - from Queue import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/reprlib.py b/Python/Dependencies/future-0.18.2/src/future/moves/reprlib.py deleted file mode 100644 index a313a13..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/reprlib.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from reprlib import * -else: - __future_module__ = True - from repr import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/socketserver.py b/Python/Dependencies/future-0.18.2/src/future/moves/socketserver.py deleted file mode 100644 index 062e084..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/socketserver.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from socketserver import * -else: - __future_module__ = True - from SocketServer import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/subprocess.py b/Python/Dependencies/future-0.18.2/src/future/moves/subprocess.py deleted file mode 100644 index 43ffd2a..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/subprocess.py +++ /dev/null @@ -1,11 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY2, PY26 - -from subprocess import * - -if PY2: - __future_module__ = True - from commands import getoutput, getstatusoutput - -if PY26: - from future.backports.misc import check_output diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/sys.py b/Python/Dependencies/future-0.18.2/src/future/moves/sys.py deleted file mode 100644 index 1293bcb..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/sys.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY2 - -from sys import * - -if PY2: - from __builtin__ import intern diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/test/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/test/__init__.py deleted file mode 100644 index 5cf428b..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/test/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if not PY3: - __future_module__ = True diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/test/support.py b/Python/Dependencies/future-0.18.2/src/future/moves/test/support.py deleted file mode 100644 index e9aa0f4..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/test/support.py +++ /dev/null @@ -1,10 +0,0 @@ -from __future__ import absolute_import -from future.standard_library import suspend_hooks -from future.utils import PY3 - -if PY3: - from test.support import * -else: - __future_module__ = True - with suspend_hooks(): - from test.test_support import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py deleted file mode 100644 index e408296..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py +++ /dev/null @@ -1,27 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 -__future_module__ = True - -if not PY3: - from Tkinter import * - from Tkinter import (_cnfmerge, _default_root, _flatten, - _support_default_root, _test, - _tkinter, _setit) - - try: # >= 2.7.4 - from Tkinter import (_join) - except ImportError: - pass - - try: # >= 2.7.4 - from Tkinter import (_stringify) - except ImportError: - pass - - try: # >= 2.7.9 - from Tkinter import (_splitdict) - except ImportError: - pass - -else: - from tkinter import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py deleted file mode 100644 index 6dde6e8..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.colorchooser import * -else: - try: - from tkColorChooser import * - except ImportError: - raise ImportError('The tkColorChooser module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py deleted file mode 100644 index eb7ae8d..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.commondialog import * -else: - try: - from tkCommonDialog import * - except ImportError: - raise ImportError('The tkCommonDialog module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py deleted file mode 100644 index ffe0981..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.constants import * -else: - try: - from Tkconstants import * - except ImportError: - raise ImportError('The Tkconstants module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py deleted file mode 100644 index 113370c..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.dialog import * -else: - try: - from Dialog import * - except ImportError: - raise ImportError('The Dialog module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py deleted file mode 100644 index 1ab4379..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.dnd import * -else: - try: - from Tkdnd import * - except ImportError: - raise ImportError('The Tkdnd module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py deleted file mode 100644 index 973923e..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.filedialog import * -else: - try: - from FileDialog import * - except ImportError: - raise ImportError('The FileDialog module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py deleted file mode 100644 index 628f399..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.font import * -else: - try: - from tkFont import * - except ImportError: - raise ImportError('The tkFont module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py deleted file mode 100644 index b43d870..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.messagebox import * -else: - try: - from tkMessageBox import * - except ImportError: - raise ImportError('The tkMessageBox module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py deleted file mode 100644 index 1c69db6..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.scrolledtext import * -else: - try: - from ScrolledText import * - except ImportError: - raise ImportError('The ScrolledText module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py deleted file mode 100644 index dba93fb..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.simpledialog import * -else: - try: - from SimpleDialog import * - except ImportError: - raise ImportError('The SimpleDialog module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py deleted file mode 100644 index 8d1718a..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.tix import * -else: - try: - from Tix import * - except ImportError: - raise ImportError('The Tix module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py b/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py deleted file mode 100644 index 081c1b4..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py +++ /dev/null @@ -1,12 +0,0 @@ -from __future__ import absolute_import - -from future.utils import PY3 - -if PY3: - from tkinter.ttk import * -else: - try: - from ttk import * - except ImportError: - raise ImportError('The ttk module is missing. Does your Py2 ' - 'installation include tkinter?') diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py deleted file mode 100644 index 5cf428b..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if not PY3: - __future_module__ = True diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py deleted file mode 100644 index 7d8ada7..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py +++ /dev/null @@ -1,16 +0,0 @@ -from __future__ import absolute_import -from future.standard_library import suspend_hooks - -from future.utils import PY3 - -if PY3: - from urllib.error import * -else: - __future_module__ = True - - # We use this method to get at the original Py2 urllib before any renaming magic - # ContentTooShortError = sys.py2_modules['urllib'].ContentTooShortError - - with suspend_hooks(): - from urllib import ContentTooShortError - from urllib2 import URLError, HTTPError diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py deleted file mode 100644 index 9074b81..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py +++ /dev/null @@ -1,28 +0,0 @@ -from __future__ import absolute_import -from future.standard_library import suspend_hooks - -from future.utils import PY3 - -if PY3: - from urllib.parse import * -else: - __future_module__ = True - from urlparse import (ParseResult, SplitResult, parse_qs, parse_qsl, - urldefrag, urljoin, urlparse, urlsplit, - urlunparse, urlunsplit) - - # we use this method to get at the original py2 urllib before any renaming - # quote = sys.py2_modules['urllib'].quote - # quote_plus = sys.py2_modules['urllib'].quote_plus - # unquote = sys.py2_modules['urllib'].unquote - # unquote_plus = sys.py2_modules['urllib'].unquote_plus - # urlencode = sys.py2_modules['urllib'].urlencode - # splitquery = sys.py2_modules['urllib'].splitquery - - with suspend_hooks(): - from urllib import (quote, - quote_plus, - unquote, - unquote_plus, - urlencode, - splitquery) diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py deleted file mode 100644 index 972aa4a..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py +++ /dev/null @@ -1,94 +0,0 @@ -from __future__ import absolute_import - -from future.standard_library import suspend_hooks -from future.utils import PY3 - -if PY3: - from urllib.request import * - # This aren't in __all__: - from urllib.request import (getproxies, - pathname2url, - proxy_bypass, - quote, - request_host, - thishost, - unquote, - url2pathname, - urlcleanup, - urljoin, - urlopen, - urlparse, - urlretrieve, - urlsplit, - urlunparse) - - from urllib.parse import (splitattr, - splithost, - splitpasswd, - splitport, - splitquery, - splittag, - splittype, - splituser, - splitvalue, - to_bytes, - unwrap) -else: - __future_module__ = True - with suspend_hooks(): - from urllib import * - from urllib2 import * - from urlparse import * - - # Rename: - from urllib import toBytes # missing from __all__ on Py2.6 - to_bytes = toBytes - - # from urllib import (pathname2url, - # url2pathname, - # getproxies, - # urlretrieve, - # urlcleanup, - # URLopener, - # FancyURLopener, - # proxy_bypass) - - # from urllib2 import ( - # AbstractBasicAuthHandler, - # AbstractDigestAuthHandler, - # BaseHandler, - # CacheFTPHandler, - # FileHandler, - # FTPHandler, - # HTTPBasicAuthHandler, - # HTTPCookieProcessor, - # HTTPDefaultErrorHandler, - # HTTPDigestAuthHandler, - # HTTPErrorProcessor, - # HTTPHandler, - # HTTPPasswordMgr, - # HTTPPasswordMgrWithDefaultRealm, - # HTTPRedirectHandler, - # HTTPSHandler, - # URLError, - # build_opener, - # install_opener, - # OpenerDirector, - # ProxyBasicAuthHandler, - # ProxyDigestAuthHandler, - # ProxyHandler, - # Request, - # UnknownHandler, - # urlopen, - # ) - - # from urlparse import ( - # urldefrag - # urljoin, - # urlparse, - # urlunparse, - # urlsplit, - # urlunsplit, - # parse_qs, - # parse_q" - # ) diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py deleted file mode 100644 index a287ae2..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py +++ /dev/null @@ -1,12 +0,0 @@ -from future import standard_library -from future.utils import PY3 - -if PY3: - from urllib.response import * -else: - __future_module__ = True - with standard_library.suspend_hooks(): - from urllib import (addbase, - addclosehook, - addinfo, - addinfourl) diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py deleted file mode 100644 index 0dc8f57..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from urllib.robotparser import * -else: - __future_module__ = True - from robotparser import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/winreg.py b/Python/Dependencies/future-0.18.2/src/future/moves/winreg.py deleted file mode 100644 index c8b1475..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/winreg.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from winreg import * -else: - __future_module__ = True - from _winreg import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/__init__.py b/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/__init__.py +++ /dev/null diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/client.py b/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/client.py deleted file mode 100644 index 4708cf8..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/client.py +++ /dev/null @@ -1,7 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from xmlrpc.client import * -else: - from xmlrpclib import * diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/server.py b/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/server.py deleted file mode 100644 index 1a8af34..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/xmlrpc/server.py +++ /dev/null @@ -1,7 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from xmlrpc.server import * -else: - from xmlrpclib import * |
