1.安装python2.5.1
2.locate freeze
找到freeze.py所在的目录,假设是 /root/python-2.5.1/tools/freeze/freeze.py
3.cd /usr/local/my
4.python /root/python-2.5.1/tools/freeze/freeze.py -o dist test.py
5.cd dist
6.make
7.strip test
A programmer’s note boke for work and life
1.安装python2.5.1
2.locate freeze
找到freeze.py所在的目录,假设是 /root/python-2.5.1/tools/freeze/freeze.py
3.cd /usr/local/my
4.python /root/python-2.5.1/tools/freeze/freeze.py -o dist test.py
5.cd dist
6.make
7.strip test