[FIX] Add the certificate and private key files

bzr revid: stephane@tinyerp.com-20081222191822-yp8dc9zlojt01don
This commit is contained in:
Stephane Wirtel 2008-12-22 20:18:22 +01:00
parent 9bc72aad22
commit 6927fa6267
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ def data_files():
openerp_site_packages = opj('lib', 'python%s' % py_short_version, 'site-packages', 'openerp-server')
files.append((openerp_site_packages, [opj('bin', 'import_xml.rng'),
opj('bin', 'server.pkey'),
opj('bin', 'server.cert')]))
for addon in find_addons():
add_path = addon.replace('.', os.path.sep).replace('openerp-server', 'bin', 1)
addon_path = opj('lib', 'python%s' % py_short_version, 'site-packages', add_path.replace('bin', 'openerp-server', 1))