Cedrik

thank you

I'm sorry for being impertinent but I still need some help

Maybe what I'm experiencing is what is supposed to happen and I don't realize it

I am trying to install an empty module, freshly created with coockiecutter

It shouldn't produce any menu and any button but it should be in the modules 
list at least

It's not

I'm sorry, I don't now how to set up a python based project.

Il giorno domenica 19 novembre 2017 14:00:07 UTC+1, Cédric Krier ha scritto:
> On 2017-11-18 22:56, Cato Nano wrote:
> > I'm going to develop a small module of mine to manage taxes collection by 
> > small municipalities
> > 
> > How do you suggest preparing a development worstation ?
> 
> You just need to have a machine with trytond installed which means a
> fully functional Python environment.
> There is nothing fancy with trytond development, it is just like any
> usual Python development
> I would recommend to use virtualenv: https://virtualenv.pypa.io/en/stable/
> 
> > Where will I put the code for my module ?
> 
> Anywhere you want.
> 
> > How will I install Tryton ?
> 
> Follow you preferred way to install Python packages.
> 
> > How will I run it in order to see it in action ?
> 
> You will need to have your package installed under trytond/modules 

and how do I achieve that ?

I tried 

python3 setup.py develop

but the target folder is not the Tryton modules folder. Should it be ?

Should I set 

install-dir=...modules ?

> or registered in the entrypoint 'trytond.modules'.

This should be done when building Tryton, as far as I understand

But I'd like to use the apt-get provided one, so this isn't an option for me ?

> We have a template using cookiecutter:
> https://bitbucket.org/tryton/cookiecutter-tryton
> 

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/eaaae89a-fd09-4267-9561-1ca0bd1a93e8%40googlegroups.com.

Reply via email to