Linux in General > Linux Development & Programming
Packaging in Python
(1/1)
kiranpulsar2007:
Dear All,
I python program which print "Hello World".
I want to run this program in 100 system.
I dont want to copy and run this script. I want to make .deb package which is easy to install by gui double click itself.
Is this possible ?, If yes, how to do.
PS: I am not using glade and quickly.
It's plain script python file, which will do some automation.say like text processing.
So I no need gui. but the python script should be installable one as like deb/exe.
Thanks in advance.
SaintDanBert:
Once your have a working script, all that an end-user requires is the following:
1. The script have the correct first line comment -- called a "she-bang" line
#!{path to program}/python
#
#... the rest of your script
#
2. The script file have permission to execute:
prompt$ 'chmod a+x {script file name}'
3. The script file reside in a folder that is listed in the PATH environment variable
-- start with your per-user $HOME and add $HOME/bin; place the script here
-- when you are thoroughly satisfied with the script, move it to /usr/local/bin or similar
( The default environment PATH already has /usr/local/bin present. )
Good Luck,
~~~ 0;-Dan
Navigation
[0] Message Index
Go to full version