Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/psutil/README

Issue 6246123: Moving psutil to third_party. This is first step for Media Performance test project. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modification based on code review's comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/psutil/PKG-INFO ('k') | third_party/psutil/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/psutil/README
diff --git a/third_party/psutil/README b/third_party/psutil/README
new file mode 100644
index 0000000000000000000000000000000000000000..feffe986f490afad155e1571229b31592b1729dd
--- /dev/null
+++ b/third_party/psutil/README
@@ -0,0 +1,118 @@
+
+Introduction
+============
+
+psutil is a module providing an interface for retrieving information on running
+processes in a portable way by using Python.
+It currently supports Linux, OS X, FreeBSD and Windows.
+
+psutil website is at http://code.google.com/p/psutil/
+
+The following document describes how to compile and install psutil from sources
+on different platforms.
+
+
+Using easy_install
+==================
+
+The easiest way to install psutil from sources is using easy_install.
+Get the latest easy_install version from http://pypi.python.org/pypi/setuptools
+and just run:
+
+ > python easy_install psutil
+
+This should get the most updated psutil version from the Python pypi repository,
+unpack it, compile it and install it automatically.
+
+
+Installing on Windows using mingw32
+===================================
+
+After the mingw [1] environment is properly set up on your system you can
+compile Windows sources by entering:
+
+ > setup.py build -c mingw32
+
+To compile and install just append the "install" keyword at the end of the
+command line above, like this:
+
+ > setup.py build -c mingw32 install
+
+It might be possible that distutils will complain about missing gcc executable.
+That means you have to add mingw bin PATH variable first.
+Entering this line in the command prompt should do the work:
+
+ > SET PATH=C:\MinGW\bin;%PATH%
+
+NOTE: this assumes MinGW is installed in C:\MinGW, if not simply replace the
+path in the command above with an appropriate location.
+
+[1] http://www.mingw.org/
+
+
+Installing on Windows using Visual Studio
+=========================================
+
+To use Visual Studio to install psutil, you must have the same version of
+Visual Studio used to compile your installation of Python. For older versions
+of Python that will be Visual Studio 2003. For 2.6 and later it should be
+Visual Studio 2008. If you do not have the requisite version of Visual Studio
+available then it is recommended to use MinGW to compile psutil instead.
+
+If you do have Visual Studio installed, you can use the basic distutils
+commands:
+
+ > setup.py build
+
+or to install and build:
+
+ > setup.py install
+
+distutils should take care of any necessary magic to compile from there.
+
+
+Installing on OS X
+==================
+
+OS X installation from source will require gcc which you can obtain as part of
+the 'XcodeTools' installer from Apple. Then you can run the standard distutils
+commands:
+
+to build only:
+
+ > ./setup.py build
+
+to install and build:
+
+ > ./setup.py install
+
+NOTE: due to developer's hardware limitations psutil has only been compiled and
+tested on OS X 10.4.11 so may or may not work on other versions.
+
+
+Installing on FreeBSD
+=====================
+
+The same compiler used to install Python must be present on the system in order
+to build modules using distutils. Assuming it is installed, you can build using
+the standard distutils commands:
+
+build only:
+
+ > ./setup.py build
+
+install and build:
+
+ > ./setup.py install
+
+
+Installing on Linux
+===================
+
+Standard distutils installation steps should apply here. At the current time
+the Linux port of psutil does not require any C modules, so can be installed
+without need for a compiler using disutils:
+
+install/build:
+
+ > ./setup.py install
« no previous file with comments | « third_party/psutil/PKG-INFO ('k') | third_party/psutil/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698