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

Side by Side Diff: third_party/psutil/README

Issue 8159001: Update third_party/psutil and fix the licence issue with it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove the suppression and unnecessary files. Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/psutil/MANIFEST.in ('k') | third_party/psutil/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 Introduction 2 Introduction
3 ============ 3 ============
4 4
5 psutil is a module providing an interface for retrieving information on running 5 psutil is a module providing an interface for retrieving information on running
6 processes in a portable way by using Python. 6 processes in a portable way by using Python.
7 It currently supports Linux, OS X, FreeBSD and Windows. 7 It currently supports Linux, OS X, FreeBSD and Windows.
8 8
9 psutil website is at http://code.google.com/p/psutil/ 9 psutil website is at http://code.google.com/p/psutil/
10 10
11 The following document describes how to compile and install psutil from sources 11 The following document describes how to compile and install psutil from sources
12 on different platforms. 12 on different platforms.
13 13
14 14
15 Using easy_install 15 Using easy_install
16 ================== 16 ==================
17 17
18 The easiest way to install psutil from sources is using easy_install. 18 The easiest way to install psutil from sources is using easy_install.
19 Get the latest easy_install version from http://pypi.python.org/pypi/setuptools 19 Get the latest easy_install version from http://pypi.python.org/pypi/setuptools
20 and just run: 20 and just run:
21 21
22 > python easy_install psutil 22 > easy_install psutil
23 23
24 This should get the most updated psutil version from the Python pypi repository, 24 This should get the most updated psutil version from the Python pypi repository,
25 unpack it, compile it and install it automatically. 25 unpack it, compile it and install it automatically.
26 26
27 27
28 Installing on Windows using mingw32 28 Installing on Windows using mingw32
29 =================================== 29 ===================================
30 30
31 After the mingw [1] environment is properly set up on your system you can 31 After the mingw [1] environment is properly set up on your system you can
32 compile Windows sources by entering: 32 compile Windows sources by entering:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 Installing on OS X 74 Installing on OS X
75 ================== 75 ==================
76 76
77 OS X installation from source will require gcc which you can obtain as part of 77 OS X installation from source will require gcc which you can obtain as part of
78 the 'XcodeTools' installer from Apple. Then you can run the standard distutils 78 the 'XcodeTools' installer from Apple. Then you can run the standard distutils
79 commands: 79 commands:
80 80
81 to build only: 81 to build only:
82 82
83 > ./setup.py build 83 > python setup.py build
84 84
85 to install and build: 85 to install and build:
86 86
87 > ./setup.py install 87 > python setup.py install
88 88
89 NOTE: due to developer's hardware limitations psutil has only been compiled and 89 NOTE: due to developer's hardware limitations psutil has only been compiled and
90 tested on OS X 10.4.11 so may or may not work on other versions. 90 tested on OS X 10.4.11 so may or may not work on other versions.
91 91
92 92
93 Installing on FreeBSD 93 Installing on FreeBSD
94 ===================== 94 =====================
95 95
96 The same compiler used to install Python must be present on the system in order 96 The same compiler used to install Python must be present on the system in order
97 to build modules using distutils. Assuming it is installed, you can build using 97 to build modules using distutils. Assuming it is installed, you can build using
98 the standard distutils commands: 98 the standard distutils commands:
99 99
100 build only: 100 build only:
101 101
102 > ./setup.py build 102 > python setup.py build
103 103
104 install and build: 104 install and build:
105 105
106 > ./setup.py install 106 > python setup.py install
107 107
108 108
109 Installing on Linux 109 Installing on Linux
110 =================== 110 ===================
111 111
112 Standard distutils installation steps should apply here. At the current time 112 gcc is required and so the python headers. They can easily be installed by using
113 the Linux port of psutil does not require any C modules, so can be installed 113 the distro package manager. For example, on Ubuntu:
114 without need for a compiler using disutils:
115 114
116 install/build: 115 > sudo apt-get install python-dev
117 116
118 > ./setup.py install 117 Once done, you can install/build psutil with:
118
119 > python setup.py install
120
OLDNEW
« no previous file with comments | « third_party/psutil/MANIFEST.in ('k') | third_party/psutil/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698