diff options
| author | Xavier ALT <x.alt@ajm.lu> | 2008-10-20 19:30:41 +0200 |
|---|---|---|
| committer | Xavier ALT <x.alt@ajm.lu> | 2008-10-20 19:30:41 +0200 |
| commit | 6f9879c7ee5d6362afbc4e36e7b8f581f5e455cc (patch) | |
| tree | 4f73578c675c1942ab1c171a579b100c3831d0e4 /setup.py | |
| parent | f2644d5bc2fbde9d9282eb647283e26c91e2ce43 (diff) | |
Fixes for packaging
- Add 'import int_to_text' so py2exe detect and copy it.
- setup.py: Add dependencies to `asyncore', `asynchat' (addon `document')
- setup.py: Add `import_xml.rng' in data files (crash on DB creation)
bzr revid: x.alt@ajm.lu-20081020173041-bh5m3z4ljgcr8i4o
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -86,6 +86,8 @@ def find_addons(): def data_files(): '''Build list of data files to be installed''' + + print "Here" files = [] if os.name == 'nt': os.chdir('bin') @@ -138,6 +140,7 @@ def data_files(): glob.glob(opj(add_path, 'report', '*sxw')) + glob.glob(opj(add_path, 'report', '*xsl')))] files.extend(pathfiles) + files.append(('.', [('bin/import_xml.rng')])) return files check_modules() @@ -158,7 +161,7 @@ options = {"py2exe": { "packages": ["lxml", "lxml.builder", "lxml._elementpath", "lxml.etree", "lxml.objectify", "decimal", "xml", "xml.dom", "xml.xpath", "encodings","mx.DateTime","wizard","pychart","PIL", "pyparsing", - "pydot"], + "pydot","asyncore","asynchat"], "excludes" : ["Tkconstants","Tkinter","tcl"], }} |
