Changeset 232 for nodebox/trunk/src

Show
Ignore:
Timestamp:
11/05/07 17:26:36 (14 months ago)
Author:
fdb
Message:

Include all default python2.5 packages and modules. Py2app calculates a dependency graph, this is a workaround.

Location:
nodebox/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • nodebox/trunk/src/macbuild.sh

    r225 r232  
    33 
    44# Remove dist and build 
    5 rm -rf dist 
    6 rm -rf build 
     5rm -rf dist build 
    76 
    87# First, make the help files. 
  • nodebox/trunk/src/macsetup.py

    r159 r232  
    1313 
    1414from setup import * 
     15 
     16all_modules = ['__future__', '_LWPCookieJar', '_MozillaCookieJar', '_strptime', '_threading_local', 'aifc', 'asynchat', 'asyncore', 'atexit', 'audiodev', 'base64', 'BaseHTTPServer', 'Bastion', 'binhex', 'bisect', 'calendar', 'cgi', 'CGIHTTPServer', 'cgitb', 'chunk', 'cmd', 'code', 'codecs', 'codeop', 'colorsys', 'commands', 'compileall', 'ConfigParser', 'contextlib', 'Cookie', 'cookielib', 'copy', 'copy_reg', 'cProfile', 'csv', 'dbhash', 'decimal', 'difflib', 'dircache', 'dis', 'doctest', 'DocXMLRPCServer', 'dumbdbm', 'dummy_thread', 'dummy_threading', 'filecmp', 'fileinput', 'fnmatch', 'formatter', 'fpformat', 'ftplib', 'functools', 'getopt', 'getpass', 'gettext', 'glob', 'gopherlib', 'gzip', 'hashlib', 'heapq', 'hmac', 'htmlentitydefs', 'htmllib', 'HTMLParser', 'httplib', 'ihooks', 'imaplib', 'imghdr', 'imputil', 'inspect', 'keyword', 'linecache', 'locale', 'macpath', 'macurl2path', 'mailbox', 'mailcap', 'markupbase', 'md5', 'mhlib', 'mimetools', 'mimetypes', 'MimeWriter', 'mimify', 'modulefinder', 'multifile', 'mutex', 'netrc', 'new', 'nntplib', 'ntpath', 'nturl2path', 'opcode', 'optparse', 'os', 'os2emxpath', 'pdb', 'pickle', 'pickletools', 'pipes', 'pkgutil', 'platform', 'popen2', 'poplib', 'posixfile', 'posixpath', 'pprint', 'profile', 'pstats', 'pty', 'py_compile', 'pyclbr', 'pydoc', 'Queue', 'quopri', 'random', 're', 'repr', 'rexec', 'rfc822', 'rlcompleter', 'robotparser', 'runpy', 'sched', 'sets', 'sgmllib', 'sha', 'shelve', 'shlex', 'shutil', 'SimpleHTTPServer', 'SimpleXMLRPCServer', 'site', 'smtpd', 'smtplib', 'sndhdr', 'socket', 'SocketServer', 'sre', 'sre_compile', 'sre_constants', 'sre_parse', 'stat', 'statvfs', 'string', 'StringIO', 'stringold', 'stringprep', 'struct', 'subprocess', 'sunau', 'sunaudio', 'symbol', 'symtable', 'tabnanny', 'tarfile', 'telnetlib', 'tempfile', 'textwrap', 'this', 'threading', 'timeit', 'toaiff', 'token', 'tokenize', 'trace', 'traceback', 'tty', 'types', 'unittest', 'urllib', 'urllib2', 'urlparse', 'user', 'UserDict', 'UserList', 'UserString', 'uu', 'uuid', 'warnings', 'wave', 'weakref', 'webbrowser', 'whichdb', 'xdrlib', 'xmllib', 'xmlrpclib', 'zipfile'] 
     17 
     18all_packages = ['bsddb', 'compiler', 'ctypes', 'curses', 'distutils', 'email', 'encodings', 'idlelib', 'hotshot', 'logging', 'sqlite3', 'wsgiref', 'xml'] 
     19 
     20# lib-dynload 
     21all_modules += ['ColorPicker', 'MacOS', 'Nav', 'OSATerminology', '_AE', '_AH', '_App', '_CF', '_CG', '_CarbonEvt', '_Cm', '_Ctl', '_Dlg', '_Drag', '_Evt', '_File', '_Fm', '_Folder', '_Help', '_IBCarbon', '_Icn', '_Launch', '_List', '_Menu', '_Mlte', '_OSA', '_Qd', '_Qdoffs', '_Qt', '_Res', '_Scrap', '_Snd', '_TE', '_Win', '_bisect', '_bsddb', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_csv', '_ctypes', '_ctypes_test', '_curses', '_curses_panel', '_elementtree', '_functools', '_hashlib', '_heapq', '_hotshot', '_locale', '_lsprof', '_multibytecodec', '_random', '_sha256', '_sha512', '_socket', '_sqlite3', '_ssl', '_struct', '_testcapi', '_tkinter', '_weakref', 'array', 'audioop', 'autoGIL', 'binascii', 'bsddb185', 'bz2', 'cPickle', 'cStringIO', 'cmath', 'collections', 'crypt', 'datetime', 'dbm', 'dl', 'fcntl', 'gestalt', 'grp', 'icglue', 'imageop', 'itertools', 'math', 'mmap', 'nis', 'operator', 'parser', 'pyexpat', 'readline', 'resource', 'rgbimg', 'select', 'strop', 'syslog', 'termios', 'time', 'unicodedata', 'zlib'] 
     22 
     23# lib-tk 
     24all_modules += ['Canvas', 'Dialog', 'FileDialog', 'FixTk', 'ScrolledText', 'SimpleDialog', 'Tix', 'Tkconstants', 'Tkdnd', 'Tkinter', 'tkColorChooser', 'tkCommonDialog', 'tkFileDialog', 'tkFont', 'tkMessageBox', 'tkSimpleDialog', 'turtle'] 
     25 
     26# plat-mac 
     27all_modules += ['Audio_mac', 'EasyDialogs', 'FrameWork', 'MiniAEFrame', 'PixMapWrapper', 'aepack', 'aetools', 'aetypes', 'applesingle', 'appletrawmain', 'appletrunner', 'argvemulator', 'bgenlocations', 'buildtools', 'bundlebuilder', 'cfmfile', 'findertools', 'gensuitemodule', 'ic', 'icopen', 'macerrors', 'macfs', 'macostools', 'macresource', 'pimp', 'plistlib', 'terminalcommand', 'videoreader'] 
     28all_packages += ['Carbon', 'CodeWarrior', 'Explorer', 'Finder', 'Netscape', 'StdSuites', 'SystemEvents', 'Terminal'] 
     29 
     30 
    1531 
    1632plist = dict( 
     
    5470        app = [dict(script='macboot.py', plist=plist)], 
    5571        options = dict(py2app=dict( 
    56             includes = ['DrawingPrimitives', 'Numeric'], 
     72            includes = ['DrawingPrimitives', 'Numeric'] + all_modules, 
     73            packages = all_packages, 
     74            site_packages = True, 
    5775            optimize = 2, 
    5876        )),