~openerp-community/openobject-server/fix-1130010-toxml-escape-quot

« back to all changes in this revision

Viewing changes to win32/setup.py

  • Committer: Antony Lesuisse
  • Date: 2012-12-21 14:24:02 UTC
  • Revision ID: al@openerp.com-20121221142402-zfrwws823zl9wzuc
packaging win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from distutils.core import setup
25
25
import py2exe
26
26
 
27
 
def datas():
28
 
    r = []
29
 
    if os.name == 'nt':
30
 
        r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
31
 
    return r
32
27
 
33
28
meta = {}
34
29
execfile(os.path.join(os.path.dirname(__file__), '..', 'openerp', 'release.py'), meta)
40
35
    }
41
36
 
42
37
    files = []
 
38
    if os.name == 'nt':
 
39
        files.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
43
40
    for action, steps in actions.items():
44
41
        fname = action + '.bat'
45
42
        files.append(fname)
69
66
                        "skip_archive": 1,
70
67
                        "optimize": 2,
71
68
                     }},
72
 
      data_files=datas(),
73
69
      )
74
70
 
75
71
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: