Skip to content
Snippets Groups Projects
Commit d26a354c authored by Simon Lejeune's avatar Simon Lejeune
Browse files

[FIX] Packaging: lib name from openerp to odoo

It's about time
parent 24b2c938
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ def py2exe_options():
setup(
name='openerp',
name='odoo',
version=version,
description=description,
long_description=long_desc,
......
......@@ -268,7 +268,7 @@ def _prepare_build_dir(o):
def build_tgz(o):
system(['python2', 'setup.py', '--quiet', 'sdist'], o.build_dir)
system(['cp', glob('%s/dist/openerp-*.tar.gz' % o.build_dir)[0], '%s/odoo.tar.gz' % o.build_dir])
system(['cp', glob('%s/dist/odoo-*.tar.gz' % o.build_dir)[0], '%s/odoo.tar.gz' % o.build_dir])
def build_deb(o):
system(['dpkg-buildpackage', '-rfakeroot'], o.build_dir)
......@@ -279,8 +279,7 @@ def build_deb(o):
def build_rpm(o):
system(['python2', 'setup.py', '--quiet', 'bdist_rpm'], o.build_dir)
system(['cp', glob('%s/dist/openerp-*.noarch.rpm' % o.build_dir)[0], '%s/odoo.noarch.rpm' % o.build_dir])
system(['cp', glob('%s/dist/openerp-*.src.rpm' % o.build_dir)[0], '%s/odoo.src.rpm' % o.build_dir])
system(['cp', glob('%s/dist/odoo-*.noarch.rpm' % o.build_dir)[0], '%s/odoo.noarch.rpm' % o.build_dir])
def build_exe(o):
KVMWinBuildExe(o, o.vm_winxp_image, o.vm_winxp_ssh_key, o.vm_winxp_login).start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment