OLD | NEW |
| (Empty) |
1 _OS X_ | |
2 INSTALL FROM SOURCE | |
3 python setup.py install | |
4 | |
5 | |
6 CREATE AN INSTALLER PACKAGE | |
7 #NOTE: this requires bdist_mkpkg utility to create the binary in
staller | |
8 # http://pypi.python.org/pypi/bdist_mpkg/ | |
9 # | |
10 # --open opens the installer after build | |
11 bdist_mpkg --license LICENSE --readme HISTORY | |
12 | |
13 # build for older Python | |
14 /Library/Frameworks/Python.framework/Versions/2.5/bin/bdist_mpkg | |
15 | |
16 | |
17 CREATE A DMG OF THE INSTALLER | |
18 # fill in directory/filenames as appropriate for srcfolder, volname | |
19 # and the output dmg file | |
20 hdiutil create -fs HFS+ -srcfolder psutil-0.1.1-py2.6-macosx10.4.mpkg -volname
psutil-0.1.1 psutil-0.1.1-py2.6-macosx10.4.dmg | |
21 | |
22 | |
23 UPLOAD TO GOOGLE CODE | |
24 # fill in summary and file name | |
25 googlecode_upload.py -s "Python 2.6 OS X Installer/Binary distribution" -p psu
til dist/psutil-0.1.1-py2.6-macosx10.4.dmg | |
26 | |
27 | |
28 __WINDOWS__ | |
29 INSTALL FROM SOURCE | |
30 | |
31 # if Visual studio | |
32 python setup.py install | |
33 | |
34 # mingw | |
35 python setup.py build -c mingw32 | |
36 | |
37 | |
OLD | NEW |