Contributors mailing list archives

contributors@odoo-community.org

Re: setuptools-odoo: packaging multiple addons

by
Tecnativa. S. L., Pedro M. Baeza
- 14/04/2017 17:17:46
It should be odoo10-addon-partner-multi-relation as it was renamed in version 9, but the module is still not ported, so that's why you can't install with any of the 2 names.

Regards.

2017-04-14 19:08 GMT+02:00 Ronald Portier <ronald@therp.nl>:
Hi,

I have another, but possibly related problem with pip installing addons:

(buildout)openeyedev@laptop:buildout_acp$ pip install
odoo10-addon-partner_relations -f https://wheelhouse.odoo-community.org/oca
Downloading/unpacking odoo10-addon-partner-relations
  Could not find any downloads that satisfy the requirement
odoo10-addon-partner-relations
Cleaning up...
No distributions at all found for odoo10-addon-partner-relations
Storing debug log for failure in /home/openeyedev/.pip/pip.log

Actually cannot install any addon this way.

Maybe some pointer were to look?

pip log ends in:
    Skipping link
https://wheelhouse.odoo-community.org/oca/odoo9_addons_oca_website_cms-9.0.20170328-py2-none-any.whl
(from https://wheelhouse.odoo-community.org/oca/); wrong project name
(not odoo10-addon-partner-relations)
    Skipping link
https://wheelhouse.odoo-community.org/oca/odoo9_addons_oca_website_cms-9.0.20170409-py2-none-any.whl
(from https://wheelhouse.odoo-community.org/oca/); wrong project name
(not odoo10-addon-partner-relations)
  Could not find any downloads that satisfy the requirement
odoo10-addon-partner-relations
Cleaning up...
No distributions at all found for odoo10-addon-partner-relations
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122,
in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
290, in run
    requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1178, in
prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 277, in
find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for
odoo10-addon-partner-relations


Kind regards,

Ronald



Op 18-03-17 om 08:53 schreef Mignon, Laurent:
> Hi,
> 
> This is a know issue with setuptools >= 0.31.0.0 and odoo 10. You can
> take a look at https://github.com/acsone/setuptools-odoo/issues/10. A
> workkaround is described.
> 
> Regards,
> 
> lmi
> 
> On Sat, Mar 18, 2017 at 2:08 AM, Stephen Medina <StephenM@lsm.org
> <mailto:StephenM@lsm.org>> wrote:
> 
>     Hello,
> 
> 
>     I am not able package multiple addons using setuptools-odoo as per
>     the instructions in the documentation
>     .
>     Is the 'odoo' module is being hidden by the 'odoo.addons' namespace?
> 
> 
>     *$ odoo --database=odootest*
>     Traceback (most recent call last):
>       File "/home/odoo/venv/bin/odoo", line 9, in 
>         odoo.cli.main()
>     AttributeError: 'module' object has no attribute 'cli'
> 
>     Packing a single module works fine. Has anyone tried this recently?
> 
> 
>     -Stephen
> 
>     _______________________________________________
>     Mailing-List: https://odoo-community.org/groups/contributors-15
>     
>     Post to: mailto:contributors@odoo-community.org
>     <mailto:contributors@odoo-community.org>
>     Unsubscribe: https://odoo-community.org/groups?unsubscribe
>     
> 
> 
> 
> 
> -- 
> *Laurent Mignon*
> Senior software engineer
> 
> Tel: +352 20 21 10 20 32
> Fax: +352 20 21 10 21
> Email: laurent.mignon@acsone.eu <mailto:laurent.mignon@acsone.eu>
> 
> Acsone SA, Succursale de Luxembourg 
> 22, Zone Industrielle
> ​ ​
> ​| L-8287 Kehlen, Luxembourg
> TVA LU24733605
> ​ | ​RCS B160400​
> 
> ​
> Acsone sa/nv
> Boulevard de la Woluwe 56, b4  Woluwedal
> ​ | B-1200 Bruxelles - Brussel 
> RPM Bruxelles 0835.207.216 RPR Brussel  
> 
> www.acsone.eu 
> 
> 
> 
> _______________________________________________
> Mailing-List: https://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: https://odoo-community.org/groups?unsubscribe
> 


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe