summaryrefslogtreecommitdiffstats
path: root/third_party/psutil/docs/BUILDING.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/psutil/docs/BUILDING.txt')
-rw-r--r--third_party/psutil/docs/BUILDING.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/psutil/docs/BUILDING.txt b/third_party/psutil/docs/BUILDING.txt
new file mode 100644
index 0000000..14dc8a1
--- /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
+
+