Index: third_party/psutil/docs/BUILDING.txt |
diff --git a/third_party/psutil/docs/BUILDING.txt b/third_party/psutil/docs/BUILDING.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14dc8a13f03749fb2cb7f3d31f536623001484f0 |
--- /dev/null |
+++ b/third_party/psutil/docs/BUILDING.txt |
@@ -0,0 +1,37 @@ |
+_OS X_ |
+INSTALL FROM SOURCE |
+ python setup.py install |
+ |
+ |
+CREATE AN INSTALLER PACKAGE |
+ #NOTE: this requires bdist_mkpkg utility to create the binary installer |
+ # http://pypi.python.org/pypi/bdist_mpkg/ |
+ # |
+ # --open opens the installer after build |
+ bdist_mpkg --license LICENSE --readme HISTORY |
+ |
+ # build for older Python |
+ /Library/Frameworks/Python.framework/Versions/2.5/bin/bdist_mpkg |
+ |
+ |
+CREATE A DMG OF THE INSTALLER |
+ # fill in directory/filenames as appropriate for srcfolder, volname |
+ # and the output dmg file |
+ 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 |
+ |
+ |
+UPLOAD TO GOOGLE CODE |
+ # fill in summary and file name |
+ googlecode_upload.py -s "Python 2.6 OS X Installer/Binary distribution" -p psutil dist/psutil-0.1.1-py2.6-macosx10.4.dmg |
+ |
+ |
+__WINDOWS__ |
+INSTALL FROM SOURCE |
+ |
+ # if Visual studio |
+ python setup.py install |
+ |
+ # mingw |
+ python setup.py build -c mingw32 |
+ |
+ |