diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-12-21 15:24:02 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-12-21 15:24:02 +0100 |
| commit | 603b12edbdfc0a27be6132d654400a9ea597656e (patch) | |
| tree | 23dad4a8bcb8f8f5905fede86c83a71ab9a09d56 | |
| parent | fdfe8e04f8ec60b8bdf461a9e2c5955452d03a28 (diff) | |
packaging win32
bzr revid: al@openerp.com-20121221142402-zfrwws823zl9wzuc
| -rw-r--r-- | win32/setup.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/win32/setup.py b/win32/setup.py index 0feedce01e0..b0b36b5c6b4 100644 --- a/win32/setup.py +++ b/win32/setup.py @@ -24,11 +24,6 @@ import glob from distutils.core import setup import py2exe -def datas(): - r = [] - if os.name == 'nt': - r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*'))) - return r meta = {} execfile(os.path.join(os.path.dirname(__file__), '..', 'openerp', 'release.py'), meta) @@ -40,6 +35,8 @@ def generate_files(): } files = [] + if os.name == 'nt': + files.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*'))) for action, steps in actions.items(): fname = action + '.bat' files.append(fname) @@ -69,7 +66,6 @@ setup(service = ["OpenERPServerService"], "skip_archive": 1, "optimize": 2, }}, - data_files=datas(), ) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
