summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-03-11 12:09:05 +0100
committerVo Minh Thu <vmt@openerp.com>2011-03-11 12:09:05 +0100
commit4c45313a04bb030de0a2a548866d4dcfbbec84bb (patch)
tree6bcedc4e1accfc6e0351f363f0baf53176cdd3ec /setup.py
parent4db9a2533c2b8466e0ee089b36a0840c646a1e6d (diff)
[FIX] setup.py: py2exe, sdist, and install seem good.
- added commands to the list of modules - provide an explicit dependency link for pychart (which will be used by easy_install) bzr revid: vmt@openerp.com-20110311110905-y8s85a24naq5zxdy
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index d8d872dfde8..f90e52da3f3 100755
--- a/setup.py
+++ b/setup.py
@@ -85,11 +85,11 @@ if os.name == 'nt':
"packages": [
"lxml", "lxml.builder", "lxml._elementpath", "lxml.etree",
"lxml.objectify", "decimal", "xml", "xml", "xml.dom", "xml.xpath",
- "encodings", "dateutil", "pychart", "PIL", "pyparsing", # Why is wizard listed here?
+ "encodings", "dateutil", "pychart", "PIL", "pyparsing",
"pydot", "asyncore","asynchat", "reportlab", "vobject",
"HTMLParser", "select", "mako", "poplib",
"imaplib", "smtplib", "email", "yaml", "DAV",
- "uuid", "openerp",
+ "uuid", "commands", "openerp",
],
"excludes" : ["Tkconstants","Tkinter","tcl"],
}
@@ -107,8 +107,6 @@ if os.name == 'nt':
return files
py2exe_data_files = data_files()
-#sys.path.append(join(os.path.abspath(os.path.dirname(__file__)), "openerp")) # Is it just for wizard, or something else?
-
execfile(join('openerp', 'release.py'))
setup(name = name,
@@ -131,15 +129,19 @@ setup(name = name,
package_data = {
'': ['*.yml', '*.xml', '*.po', '*.pot', '*.csv'],
},
+ dependency_links = ['http://download.gna.org/pychart/'],
install_requires = [
# We require the same version as caldav for lxml.
'lxml==2.1.5',
'mako',
'python-dateutil',
'psycopg2',
- # We include pychart in our tree as it is difficult to get it via pypi.
- # An alternate site is http://home.gna.org/pychart/.
- # 'pychart',
+ # TODO the pychart package we include in openerp corresponds to PyChart 1.37.
+ # It seems there is a single difference, which is a spurious print in generate_docs.py.
+ # It is probably safe to move to PyChart 1.39 (the latest one).
+ # (Let setup.py choose the latest one, and we should check we can remove pychart from
+ # our tree.)
+ 'pychart',
'pydot',
'pytz',
'reportlab',