summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
...
* setup.py script now includes a hack for Python 3 to tell distutils to run ↵Giampaolo Rodola'2010-02-211-5/+14
| | | | 2to3 against the files copied in the build directory before installing.
* (issue 63) fixes username issues on Windows by using wmi.py module ↵Giampaolo Rodola'2010-02-101-0/+19
| | | | | | | | (requiring pywin32 extension) to retrieve the process username. In case pywin32 is not installed a NotImplementedError exception is raised. wmi.py has been placed in psutil source tree and gets installed as a separated module by setup.py by temporarily copying it in the same directory as setup.py. This sucks but I really didn't find another way out.
* Fixed issue 57 (some tests failing if no swap is available).wq!Giampaolo Rodola'2009-07-061-1/+1
| | | | Also added __version__ variable in module init.
* Added get_process_username(). Implemented on Windows.yanraber2009-05-081-1/+1
|
* Added distutil's "keyword" argument.release-0.1.2Giampaolo Rodola'2009-05-061-0/+1
|
* updated version # in setupJay Loden2009-05-061-1/+1
|
* Code cleanup.Giampaolo Rodola'2009-05-061-1/+2
|
* Removed _WIN32_WINNT define in _psutil_mswindows.c and put back changes in ↵Jay Loden2009-04-301-1/+8
| | | | setup.py to set _WIN32_WINNT and _AVAIL_WINVER_ in case we need these in the future. They don't hurt to have and could come in handy later.
* Reverting changes applied in r351 and r352 and roll back to r350.yanraber2009-04-301-6/+1
| | | | | | We now conditionally check whether using GetSystemTime() or NtQuerySystemInformation() depending on their availability as it was in r350, but doing that only once instead of every time the funcion is called which results in a considerable speedup. This change was made also to permit us to distribute a single pre-compiled executable which works on both Windows 2000 and higher.
* Added _AVAIL_WINVER_ to distutils setup script, and also modified ↵Jay Loden2009-04-291-1/+6
| | | | _WIN32_WINNT to be set to the current windows version as well in distutils.
* Modified version in setup.py.Giampaolo Rodola'2009-03-061-5/+8
|
* Added $Id$ keyword to all source files.Jay Loden2009-03-051-1/+3
|
* Fixed a bunch of compiler warnings that turned up on FreeBSD if using gccJay Loden2009-02-251-1/+1
| | | | instead of cc to compile
* BSD support added to psutil for all functions currently supported on OS X, ↵Jay Loden2009-02-251-0/+7
| | | | Windows and Linux
* Split C source code files into architecture-specifc directories for all helperJay Loden2009-02-181-2/+2
| | | | | functions used in the main platform implementation module. Also updated setup.py to include new source files.
* Added classifiers needed to provide useful info on PYPI.Giampaolo Rodola'2009-01-271-1/+21
|
* Avoided to call distutils.core.setup() twice which caused setup.py to ↵release-0.1.0Giampaolo Rodola'2009-01-271-40/+32
| | | | generate two .exe installers when running "setup.py bdist_wininst".
* Modified release version (0.1.0)Giampaolo Rodola'2009-01-271-1/+1
|
* Added LICENSE file (BSD).Giampaolo Rodola'2009-01-271-0/+1
|
* Merging with Jay's r63 commit I accidentally conflicted with.Giampaolo Rodola'2009-01-271-1/+1
|
* Code base cleanup (*.py files only).Giampaolo Rodola'2009-01-271-22/+26
|
* Fixed path in setup.py for OS X and moved infoTuple declaration to afterJay Loden2009-01-271-1/+1
| | | | argument parsing in get_process_info()
* Added shell32.lib to libraries for linking, needed to compile usingJay Loden2009-01-261-1/+1
| | | | VS2003
* removed unneeded include_dirs from setup.pyJay Loden2009-01-231-1/+0
|
* Temporary WMIC hack tested and verified functioning on XP, needs cleanup and ↵Jay Loden2009-01-231-1/+1
| | | | error checking.
* Ugly hack to use WMIC to get command line for nowJay Loden2009-01-231-1/+1
|
* Code for Win32 compiles but I'm getting a crash when attmepting to run itJay Loden2009-01-231-3/+4
| | | | | probably a memory error someplace. Had to clean up the NTProcessInfo code to compile, will need to review code to determine source of the problem.
* Fixed lib references in setup.py for Windows, and made changes to variableJay Loden2009-01-131-1/+1
| | | | | declarations so everything now compiles on both MinGW and Visual Studio (.NET 2003 on my system would like to test 2005 and 2008 also if available).
* Removed psutil/ for windows build, breaks build process...Jay Loden2009-01-131-1/+1
|
* Test script problems appear to have been caused by setup.py building the CJay Loden2009-01-121-2/+2
| | | | | | | | | | | modules and dumping them in site-packages as separate items instead of as part of the psutil directory. We are probably still doing this incorrectly; I think all files should actually be under one umbrella for psutil package but I'm not familiar enough with disutils to tell. In any case, just fixing the path for now seems to have resolved the test case failures on Python 2.5 Also implemented kill() for OS X since it's the same as kill on other UNIX flavors.
* Fixed build problem. Slashes break distutils build and should not be used ↵daveregs2008-07-211-2/+2
| | | | in setup.py for the extension names
* - Added Linux preliminary support including get_pid_list(), kill_process() ↵Giampaolo Rodola'2008-05-051-2/+6
| | | | | | | | | and process_exists() functions. - Implemented process_exists() for Windows and OS X. - Modified get_process_list() docstring to reflect what it actually does. - Added docstrings where missing. - Had not implemented functions raise NotImplementedException when called.
* Moved setup script to main directory and added package data so the py filesJay Loden2008-05-051-0/+41
| | | | can be installed in site-packages
* Revert all code written.Giampaolo Rodola'2008-04-271-10/+0
|
* Initial code commit to start off some kind of direction to follow. It includes:Giampaolo Rodola'2008-04-261-1/+1
| | | | | | - Implementation of 'list_processes', 'kill_process', 'kill_process_by_name', 'get_process_path' and 'get_process_name' functions for Windows system. - a setup.py script. - a minimalistic test suite.
* - Move modules in the new psutil directoryGiampaolo Rodola'2008-04-261-0/+10
- Add setup.py script