Project background:
We have written a Python program, how like we download some of the Web site package, I believe you are very interested in this!!
Lab Environment:
Virtual Machines VMware Workstation player
Server: centos6.5 system ip:192.168.0.25
Python 2.6.6
SECURECRT SSH remote connection software
Distuils Module
Experimental process:
I create a working directory and create a Python program.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/1D/wKiom1bf_62AQsLNAAAlQ7-0n0g083.png "title=" h4$ A9@m~7q[zh () ey2}fe91.png "alt=" Wkiom1bf_62aqslnaaalq7-0n0g083.png "/> Two, create installation file
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/1D/wKiom1bgAB6ixzdbAAA94bts4eA170.png "title=" Install file. png "alt=" Wkiom1bgab6ixzdbaaa94bts4ea170.png "/>" Create software dependent library directory
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/1D/wKiom1bgAOXA2g0FAAA1GO_2HbQ996.png "title=" Creates a dependent library file. png "alt=" Wkiom1bgaoxa2g0faaa1go_2hbq996.png "/> Four, source code release
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/1C/wKioL1bgAgqCuisPAAEwO8jAWJs364.png "title=" Source code release. png "alt=" Wkiol1bgagqcuispaaewo8jawjs364.png "/>w five, look at the program we created good source
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/1D/wKiom1bgAiShECjhAAArqO0dcLo803.png "title=" End.png "alt=" Wkiom1bgaishecjhaaarqo0dclo803.png "/>
We can see that we have successfully created the package!!!!!
Project Summary: I think for the software release has a lot of help, you can not get a pile of files, so I think it is helpful to you, thank you.
This article is from the "Make a few" blog, be sure to keep this source http://9399369.blog.51cto.com/9389369/1749256
Python program Packaging!!!