Contributors mailing list archives

Browse archives


Re: Help solving a CI issue

Holger Brunn
- 02/11/2022 07:30:36
> I need to install the version in this

> repo - branch py3k and also execute

> this commands: 

you can use external_dependencies_override (cf
setuptools-odoo/#controlling-setuptools-odoo-behaviour) where you can do 
something like

> Go to installation directory of PyAFIPWS:

> cd /usr/local/lib/python3/dist-packages/pyafipws

> Note: Replace python3 by the python version in the system (like python3.9)

> Create a folder with the name cache:

> sudo mkdir cache

> Change permission of folder:

> sudo chmod -R 777 cache

> * extracted from one of our local wikis

I'd strongly suggest to fix this in the python package itself, this will make 
stuff better for anyone involved anyways. Having a cache directory there is 
quite wrong, this should go to /var/cache or ~/.cache (cf https://, and you can create this 
for the global case (local can just create it on first run) during installation 
by overriding the install command class passing a custom cmdclass (cf https:// dict.

Your partner for the hard Odoo problems