summaryrefslogtreecommitdiff
path: root/Mac/Resources/pythonpath.r
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 14:34:18 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 14:34:18 +0000
commit28ecf70db57828db2ca279643bf9aeca7662f35c (patch)
tree09b7767bbc411f85313b58d6fe7e5e67d9392973 /Mac/Resources/pythonpath.r
parent6045b9c93511c767f6cfa2d2fa299c76181acd9b (diff)
downloadcpython-git-28ecf70db57828db2ca279643bf9aeca7662f35c.tar.gz
Getting rid of support for MacOS9 and earlier. This is the first step,
and the biggest in size, but probably the easiest. Hunting through the source code comes next.
Diffstat (limited to 'Mac/Resources/pythonpath.r')
-rw-r--r--Mac/Resources/pythonpath.r108
1 files changed, 0 insertions, 108 deletions
diff --git a/Mac/Resources/pythonpath.r b/Mac/Resources/pythonpath.r
deleted file mode 100644
index 1d7479c2b2..0000000000
--- a/Mac/Resources/pythonpath.r
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
-** Resources for the sys.path initialization, the Python options
-** and the preference filename
-*/
-#include "Types.r"
-#include "patchlevel.h"
-#include "pythonresources.h"
-
-/* A few resource type declarations */
-
-type 'Popt' {
- literal byte version = POPT_VERSION_CURRENT;
- byte noInspect = 0, inspect = 1;
- byte noVerbose = 0, verbose = 1;
- byte noOptimize = 0, optimize = 1;
- byte noUnbuffered = 0, unbuffered = 1;
- byte noDebugParser = 0, debugParser = 1;
- byte unused_0 = 0, unused_1 = 1;
- byte closeAlways = POPT_KEEPCONSOLE_NEVER,
- noCloseOutput = POPT_KEEPCONSOLE_OUTPUT,
- noCloseError = POPT_KEEPCONSOLE_ERROR,
- closeNever = POPT_KEEPCONSOLE_ALWAYS;
- byte interactiveOptions = 0, noInteractiveOptions = 1;
- byte argcArgv = 0, noArgcArgv = 1;
- byte newStandardExceptions = 0, oldStandardExceptions = 1;
- byte sitePython = 0, noSitePython = 1;
- byte navService = 0, noNavService = 1;
- byte noDelayConsole = 0, delayConsole = 1;
- byte noDivisionWarning = 0, divisionWarning = 1;
- byte noUnixNewlines = 0, unixNewlines = 1;
-};
-
-type 'TMPL' {
- wide array {
- pstring;
- literal longint;
- };
-};
-
-/* The resources themselves */
-
-/* Popt template, for editing them in ResEdit */
-
-resource 'TMPL' (PYTHONOPTIONS_ID, "Popt") {
- {
- "preference version", 'DBYT',
- "Interactive after script", 'DBYT',
- "Verbose import", 'DBYT',
- "Optimize", 'DBYT',
- "Unbuffered stdio", 'DBYT',
- "Debug parser", 'DBYT',
- "Keep window on normal exit", 'DBYT',
- "Keep window on error exit", 'DBYT',
- "No interactive option dialog", 'DBYT',
- "No argc/argv emulation", 'DBYT',
- "Old standard exceptions", 'DBYT',
- "No site-python support", 'DBYT',
- "No NavServices in macfs", 'DBYT',
- "Delay console window", 'DBYT',
- "Warnings for old-style division", 'DBYT',
- "Allow unix newlines on textfile input",'DBYT',
- }
-};
-
-/* The default-default Python options */
-
-resource 'Popt' (PYTHONOPTIONS_ID, "Options") {
- POPT_VERSION_CURRENT,
- noInspect,
- noVerbose,
- noOptimize,
- noUnbuffered,
- noDebugParser,
- unused_0,
- noCloseOutput,
- interactiveOptions,
- argcArgv,
- newStandardExceptions,
- sitePython,
- navService,
- noDelayConsole,
- noDivisionWarning,
- unixNewlines,
-};
-
-/* The sys.path initializer */
-
-resource 'STR#' (PYTHONPATH_ID, "sys.path initialization") {
- {
- "$(PYTHON)",
- "$(PYTHON):Lib",
- "$(PYTHON):Lib:lib-dynload",
- "$(PYTHON):Lib:plat-mac",
- "$(PYTHON):Lib:plat-mac:lib-scriptpackages",
- "$(PYTHON):Mac:Lib",
- "$(PYTHON):Extensions:img:Mac",
- "$(PYTHON):Extensions:img:Lib",
- "$(PYTHON):Extensions:Imaging",
- "$(PYTHON):Lib:lib-tk",
- "$(PYTHON):Lib:site-packages",
- }
-};
-
-/* The preferences filename */
-
-resource 'STR ' (PREFFILENAME_ID, PREFFILENAME_PASCAL_NAME) {
- $$Format("Python %s Preferences", PY_VERSION)
-};