summaryrefslogtreecommitdiffstats
path: root/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-01-01 21:05:27 -0800
committeryum <yum.food.vr@gmail.com>2023-01-01 21:44:45 -0800
commite25bdba3a3a53b09be5269d8b065c13b73ab55c3 (patch)
tree1d1dc1d94cde92c2f4f8ce86017395054787515d /FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter
parent0d408cc812a094a708edbe4baf536e928731cfc3 (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 'FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter')
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py27
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py12
13 files changed, 171 insertions, 0 deletions
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py
new file mode 100644
index 0000000..e408296
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/__init__.py
@@ -0,0 +1,27 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py
new file mode 100644
index 0000000..6dde6e8
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/colorchooser.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py
new file mode 100644
index 0000000..eb7ae8d
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/commondialog.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py
new file mode 100644
index 0000000..ffe0981
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/constants.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py
new file mode 100644
index 0000000..113370c
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dialog.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py
new file mode 100644
index 0000000..1ab4379
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/dnd.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py
new file mode 100644
index 0000000..973923e
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/filedialog.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py
new file mode 100644
index 0000000..628f399
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/font.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py
new file mode 100644
index 0000000..b43d870
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/messagebox.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py
new file mode 100644
index 0000000..1c69db6
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/scrolledtext.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py
new file mode 100644
index 0000000..dba93fb
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/simpledialog.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py
new file mode 100644
index 0000000..8d1718a
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/tix.py
@@ -0,0 +1,12 @@
+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/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py
new file mode 100644
index 0000000..081c1b4
--- /dev/null
+++ b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/tkinter/ttk.py
@@ -0,0 +1,12 @@
+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?')