summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier ALT <x.alt@ajm.lu>2008-10-20 19:30:41 +0200
committerXavier ALT <x.alt@ajm.lu>2008-10-20 19:30:41 +0200
commit6f9879c7ee5d6362afbc4e36e7b8f581f5e455cc (patch)
tree4f73578c675c1942ab1c171a579b100c3831d0e4
parentf2644d5bc2fbde9d9282eb647283e26c91e2ce43 (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
-rw-r--r--bin/report/__init__.py1
-rw-r--r--setup.py5
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/report/__init__.py b/bin/report/__init__.py
index adbe1d7ee74..347e8670433 100644
--- a/bin/report/__init__.py
+++ b/bin/report/__init__.py
@@ -34,6 +34,7 @@ import print_fnc
import custom
import render
import pychart
+import int_to_text
import report_sxw
diff --git a/setup.py b/setup.py
index 0000ae6c152..164d834a1e2 100644
--- a/setup.py
+++ b/setup.py
@@ -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"],
}}