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 or registered in the entrypoint 'trytond.modules'. > Can I set up Emacs with autocompletion on my module code ? How ? See with your editor what feature it provides for Python language. > How do I create the scaffold for a module ? Is there any command ? We have a template using cookiecutter: https://bitbucket.org/tryton/cookiecutter-tryton > Also, how will I deploy it when it's ready ? Like you deploy any other Python packages. > Are there any guidelines ? I would recommend reading: http://docs.python-guide.org/en/latest/ -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- 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/20171119125928.GV4011%40kei.
