[imp] remove pointless check on xml package, sort required_modules
bzr revid: xmo@tinyerp.com-20091212152404-j56ef6xzk95f0l00
This commit is contained in:
parent
d980d96150
commit
99e05779ea
13
setup.py
13
setup.py
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
|
@ -16,7 +16,7 @@
|
|||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
@ -52,13 +52,11 @@ if sys.argv[1] == 'bdist_rpm':
|
|||
py_short_version = '%s.%s' % sys.version_info[:2]
|
||||
|
||||
required_modules = [
|
||||
('lxml', 'lxml module: pythonic libxml2 and libxslt bindings'),
|
||||
('psycopg2', 'PostgreSQL module'),
|
||||
('xml', 'XML Tools for python'),
|
||||
('reportlab', 'reportlab module'),
|
||||
('pychart', 'pychart module'),
|
||||
('pydot', 'pydot module'),
|
||||
('lxml', 'lxml module: pythonic libxml2 and libxslt bindings'),
|
||||
('mako','Mako templating library'),
|
||||
('reportlab', 'reportlab module'),
|
||||
]
|
||||
|
||||
def check_modules():
|
||||
|
@ -184,7 +182,7 @@ options = {
|
|||
"packages": ["lxml", "lxml.builder", "lxml._elementpath", "lxml.etree",
|
||||
"lxml.objectify", "decimal", "xml", "xml.dom", "xml.xpath",
|
||||
"encodings","mx.DateTime","wizard","pychart","PIL", "pyparsing",
|
||||
"pydot","asyncore","asynchat", "reportlab", "vobject","mako",
|
||||
"pydot","asyncore","asynchat", "reportlab", "vobject",
|
||||
"HTMLParser", "select"],
|
||||
"excludes" : ["Tkconstants","Tkinter","tcl"],
|
||||
}
|
||||
|
@ -218,7 +216,6 @@ setup(name = name,
|
|||
'openerp-server.report.render.rml2html',
|
||||
'openerp-server.report.render.rml2txt',
|
||||
'openerp-server.report.render.html2html',
|
||||
'openerp-server.report.render.makohtml2html',
|
||||
'openerp-server.wizard',
|
||||
'openerp-server.report.render.odt2odt',
|
||||
'openerp-server.workflow'] + \
|
||||
|
|
Loading…
Reference in New Issue