mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
Added _csv module, and getting rid of macfs.
This commit is contained in:
parent
bb829b7c02
commit
6fa2dc70b8
2 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ MACBUILDNO=":Mac:Include:macbuildno.h"
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import macfs
|
import Carbon.File
|
||||||
import MacOS
|
import MacOS
|
||||||
import EasyDialogs
|
import EasyDialogs
|
||||||
import re
|
import re
|
||||||
|
|
@ -96,7 +96,7 @@ def buildmwproject(top, creator, projects):
|
||||||
target = ''
|
target = ''
|
||||||
file = os.path.join(top, file)
|
file = os.path.join(top, file)
|
||||||
try:
|
try:
|
||||||
fss = macfs.FSSpec(file)
|
fss = Carbon.File.FSSpec(file)
|
||||||
except MacOS.Error:
|
except MacOS.Error:
|
||||||
print '** file not found:', file
|
print '** file not found:', file
|
||||||
continue
|
continue
|
||||||
|
|
@ -194,6 +194,7 @@ def buildcarbonplugins(top, dummy1, dummy2):
|
||||||
## '--install-platlib=%s' % os.path.join(sys.prefix, 'Lib', 'lib-dynload')
|
## '--install-platlib=%s' % os.path.join(sys.prefix, 'Lib', 'lib-dynload')
|
||||||
## ])
|
## ])
|
||||||
buildmwproject(top, "CWIE", [
|
buildmwproject(top, "CWIE", [
|
||||||
|
(":Mac:Build:_csv.carbon.mcp", "_csv.carbon"),
|
||||||
(":Mac:Build:_weakref.carbon.mcp", "_weakref.carbon"),
|
(":Mac:Build:_weakref.carbon.mcp", "_weakref.carbon"),
|
||||||
(":Mac:Build:_symtable.carbon.mcp", "_symtable.carbon"),
|
(":Mac:Build:_symtable.carbon.mcp", "_symtable.carbon"),
|
||||||
(":Mac:Build:_testcapi.carbon.mcp", "_testcapi.carbon"),
|
(":Mac:Build:_testcapi.carbon.mcp", "_testcapi.carbon"),
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ def genallprojects(force=0):
|
||||||
genpluginproject("carbon", "gdbm",
|
genpluginproject("carbon", "gdbm",
|
||||||
libraries=["gdbm.ppc.gusi.lib"],
|
libraries=["gdbm.ppc.gusi.lib"],
|
||||||
extradirs=["::::gdbm:mac", "::::gdbm"])
|
extradirs=["::::gdbm:mac", "::::gdbm"])
|
||||||
|
genpluginproject("carbon", "_csv", sources=["_csv.c"])
|
||||||
genpluginproject("carbon", "_weakref", sources=["_weakref.c"])
|
genpluginproject("carbon", "_weakref", sources=["_weakref.c"])
|
||||||
genpluginproject("carbon", "_symtable", sources=["symtablemodule.c"])
|
genpluginproject("carbon", "_symtable", sources=["symtablemodule.c"])
|
||||||
# Example/test modules
|
# Example/test modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue