setup.py sdist is broken

Bug #624620 reported by Dan Watkins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Wishlist
OpenERP's Framework R&D

Bug Description

The 'data_files' argument to setup() is not recognised in setuptools (whereas it was in distutils).

As such, the 'data_files = data_files()' line does nothing, and only the Python files are produced in the output tarball.

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Stephane, could you check this packaging one as well? Thanks!

Changed in openobject-server:
assignee: nobody → Stephane Wirtel (OpenERP) (stephane-openerp)
status: New → Triaged
Revision history for this message
Dimitri John Ledkov (ex-credativ) (dle-credativ) wrote :

Stephane, what's the status on this? I had to locally rewrite setup.py for my usage or has this been fixed in trunk?

Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

Server setup.py has been rewritten and uses a data() helper function. sdist seems to work it is used for our tgz nightly build.

Changed in openobject-server:
assignee: Stephane Wirtel (OpenERP) (stephane-openerp) → nobody
importance: Undecided → Wishlist
status: Triaged → Fix Committed
Amit Parik (amit-parik)
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.