svgui/pyjs/build.py
changeset 1832 0f1081928d65
parent 1826 91796f408540
child 1834 cd42b426028b
equal deleted inserted replaced
1831:56b48961cc68 1832:0f1081928d65
     2 
     2 
     3 from __future__ import print_function
     3 from __future__ import print_function
     4 import sys
     4 import sys
     5 import os
     5 import os
     6 import shutil
     6 import shutil
       
     7 import time
       
     8 import re
       
     9 from hashlib import md5
     7 from copy import copy
    10 from copy import copy
     8 from os.path import join, dirname, basename, abspath, split, isfile, isdir
    11 from os.path import join, dirname, basename, abspath, split, isfile, isdir
     9 from optparse import OptionParser
    12 from optparse import OptionParser
       
    13 from cStringIO import StringIO
       
    14 
    10 import pyjs
    15 import pyjs
    11 import time
    16 
    12 from cStringIO import StringIO
       
    13 try:
       
    14     # Python 2.5 and above
       
    15     from hashlib import md5
       
    16 except Exception:
       
    17     import md5
       
    18 import re
       
    19 
    17 
    20 usage = """
    18 usage = """
    21   usage: %prog [options] <application module name or path>
    19   usage: %prog [options] <application module name or path>
    22 
    20 
    23 This is the command line builder for the pyjamas project, which can
    21 This is the command line builder for the pyjamas project, which can