0
I wish my python program could be put into the system in such a way that with a simple import
it can be executed, for example:
import meucodigo
meucodigo.main()
My code contains several files (own modules) and all are called through the main class.
The idea is that with this I can create an installer so that it configures everything correctly for the end user. I intend to use the install Creator 2 and so the user can call it after the installation. Remembering that I need it to be an installer like the one mentioned. Some tip?
I know it is possible, but unfortunately I can not find any tutorial to teach.
NOTE: Use and need to use python 2.5.
To create your own python Packages see that answer and to "package" your app into an installer, see this one, here at Stopt.
– Sidon
The way that is being taught in link 1 I already use, however, I wish that all my code could be imported by another program, being called in any part of the operating system.
– Edeson Bizerril
So what you want is to create and distribute your packages, you can publish in Pypi or on a server itself, is quite extensive to put an answer here, start here, if you have difficulties with English, try a google search like this.
– Sidon
I saw this possibility, but as I said, I would like it to be configured through an installer, because the script created is proprietary and needs to be run by another program called Arcgis. Understand?! A while ago I saw a video that taught basically this but unfortunately I did not find more. But thanks for the tip!
– Edeson Bizerril
Nothing prevents you from configuring and installing a package through an installer.
– Sidon