Module Expr Str Import alias Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args defaults body Print Str Print Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Print Str Assign NameStore Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Print Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Print NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore BinOpMod Str Call NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Python script to build the OSX universal binaries.

This is a simple script, most of the heavy lifting is done in bdist_mpkg.

To run this script:  'python build.py'

Requires a svn version of scipy is installed, svn is used to revert
file changes made to the docs for the end-user install.  Installer is
built using sudo so file permissions are correct when installed on
user system.  Script will prompt for sudo pwd.

 N/A os N/A shutil N/A subprocess getpass getuser N/A SRC_DIR ../../ N/A BUILD_DIR build N/A DIST_DIR dist remove_dirs N/A N/A N/A N/A N/A Removing old build and distribution directories... N/A The distribution is built as root, so the files have the correct
    permissions when installed by the user.  Chown them to user for removal. N/A N/A N/A N/A os path exists BUILD_DIR N/A N/A cmd N/A sudo chown -R %s %s N/A N/A getuser BUILD_DIR N/A N/A shellcmd cmd N/A N/A N/A shutil rmtree BUILD_DIR N/A N/A N/A N/A os path exists DIST_DIR N/A N/A cmd N/A sudo chown -R %s %s N/A N/A getuser DIST_DIR N/A N/A shellcmd cmd N/A N/A N/A shutil rmtree DIST_DIR N/A build_dist N/A N/A N/A N/A N/A Building distribution... (using sudo) N/A cmd sudo python setupegg.py bdist_mpkg N/A N/A shellcmd cmd N/A build_dmg N/A N/A N/A N/A N/A Building disk image... N/A pkg N/A N/A N/A os listdir DIST_DIR N/A 0 N/A N/A fn ext N/A N/A N/A os path splitext pkg N/A dmg N/A fn .dmg N/A srcfolder N/A N/A N/A os path join DIST_DIR pkg N/A dstfolder N/A N/A N/A os path join DIST_DIR dmg N/A cmd N/A sudo hdiutil create -srcfolder %s %s N/A srcfolder dstfolder N/A N/A shellcmd cmd N/A shellcmd N/A N/A cmd verbose N/A True N/A N/A Call a shell command. N/A verbose N/A N/A cmd N/A N/A N/A N/A N/A subprocess check_call cmd shell True N/A N/A N/A N/A subprocess CalledProcessError N/A err N/A N/A msg N/A 
        Error while executing a shell command.
        %s
         N/A str err N/A N/A Exception msg N/A build N/A N/A N/A N/A N/A cwd N/A N/A os getcwd N/A N/A N/A os chdir SRC_DIR N/A N/A remove_dirs N/A N/A build_dist N/A N/A build_dmg N/A N/A N/A os chdir cwd N/A N/A N/A __name__ __main__ N/A N/A N/A build