From e25bdba3a3a53b09be5269d8b065c13b73ab55c3 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 1 Jan 2023 21:05:27 -0800 Subject: 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. --- .../future-0.18.2/src/future/moves/http/__init__.py | 4 ---- .../future-0.18.2/src/future/moves/http/client.py | 8 -------- .../future-0.18.2/src/future/moves/http/cookiejar.py | 8 -------- .../future-0.18.2/src/future/moves/http/cookies.py | 9 --------- .../future-0.18.2/src/future/moves/http/server.py | 20 -------------------- 5 files changed, 49 deletions(-) delete mode 100644 Python/Dependencies/future-0.18.2/src/future/moves/http/__init__.py delete mode 100644 Python/Dependencies/future-0.18.2/src/future/moves/http/client.py delete mode 100644 Python/Dependencies/future-0.18.2/src/future/moves/http/cookiejar.py delete mode 100644 Python/Dependencies/future-0.18.2/src/future/moves/http/cookies.py delete mode 100644 Python/Dependencies/future-0.18.2/src/future/moves/http/server.py (limited to 'Python/Dependencies/future-0.18.2/src/future/moves/http') 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 -- cgit v1.2.3