summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-21 12:56:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-21 12:56:27 (GMT)
commit6fa2dc70b8af4734d709d010c8d2e01b77671403 (patch)
treec349442bd722bb9f025fc19c8b729a32409d473a /Mac/scripts
parentbb829b7c0205e9e75eaee10323a959169d7ecefc (diff)
downloadcpython-6fa2dc70b8af4734d709d010c8d2e01b77671403.zip
cpython-6fa2dc70b8af4734d709d010c8d2e01b77671403.tar.gz
cpython-6fa2dc70b8af4734d709d010c8d2e01b77671403.tar.bz2
Added _csv module, and getting rid of macfs.
Diffstat (limited to 'Mac/scripts')
-rw-r--r--Mac/scripts/fullbuild.py5
-rw-r--r--Mac/scripts/genpluginprojects.py1
2 files changed, 4 insertions, 2 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index b1cd2d8..28ad59f 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -15,7 +15,7 @@ MACBUILDNO=":Mac:Include:macbuildno.h"
import os
import sys
-import macfs
+import Carbon.File
import MacOS
import EasyDialogs
import re
@@ -96,7 +96,7 @@ def buildmwproject(top, creator, projects):
target = ''
file = os.path.join(top, file)
try:
- fss = macfs.FSSpec(file)
+ fss = Carbon.File.FSSpec(file)
except MacOS.Error:
print '** file not found:', file
continue
@@ -194,6 +194,7 @@ def buildcarbonplugins(top, dummy1, dummy2):
## '--install-platlib=%s' % os.path.join(sys.prefix, 'Lib', 'lib-dynload')
## ])
buildmwproject(top, "CWIE", [
+ (":Mac:Build:_csv.carbon.mcp", "_csv.carbon"),
(":Mac:Build:_weakref.carbon.mcp", "_weakref.carbon"),
(":Mac:Build:_symtable.carbon.mcp", "_symtable.carbon"),
(":Mac:Build:_testcapi.carbon.mcp", "_testcapi.carbon"),
diff --git a/Mac/scripts/genpluginprojects.py b/Mac/scripts/genpluginprojects.py
index 03ce54f..929d2c4 100644
--- a/Mac/scripts/genpluginprojects.py
+++ b/Mac/scripts/genpluginprojects.py
@@ -109,6 +109,7 @@ def genallprojects(force=0):
genpluginproject("carbon", "gdbm",
libraries=["gdbm.ppc.gusi.lib"],
extradirs=["::::gdbm:mac", "::::gdbm"])
+ genpluginproject("carbon", "_csv", sources=["_csv.c"])
genpluginproject("carbon", "_weakref", sources=["_weakref.c"])
genpluginproject("carbon", "_symtable", sources=["symtablemodule.c"])
# Example/test modules