| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Since setuptools v41.5.0 (27 Oct 2019), the 'test' command is formally
deprecated and should not be used. Test are still easy to run through
tox -- as before.
|
| |
|
|
|
|
| |
struct.calcsize('l') < 8 assume int
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The docs for CCompiler.compile say:
> If output_dir is given, object files will be put under it, while retaining their
> original path component. That is, foo/bar.c normally compiles to foo/bar.o (for a
> Unix implementation); if output_dir is build, then it would compile to build/foo/bar.o.
What they forget to say is that path components are also retained if output_dir is not
specified, it just means it will do so in the current directory. So if you compile
a temporary C file /tmp/foo.c, it will produce a ./tmp/foo.o file relative to the
current directory.
This commit fixes that issue by passing an explicit output_dir itself located in
a temporary directory.
|
| |
|
|
|
|
| |
Ammar Askar)
|
| |
|
|
|
| |
Windows / speeup: dynamically load libraries on startup and never again.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* setup.py: add py 3.7
* Revert OSX sensors code due to copyright constraints
It turns out code contributed in PR #1284 was using parts of a source
code released by Apple [1] which uses GPL license which is incompatible with
psutil's license (BSD).
[1] https://gist.github.com/edvakf/4049362
|
| |
|
|
|
| |
rename OSX to macOS
|
|
|
| |
OSX: add temperatures() and fans()
|
| |
|
| |
|
|
|
| |
This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.
|
|
|
|
|
|
|
|
| |
Cleanly separates tests from the package itself. Prevents the tests
being installed to site-packages. Tests are still distributed with the
source distribution by MANIFEST.in.
Avoids installing tests in production environments, leading to less
total code in the environment.
|
|
|
|
|
| |
Using environment markers has support among modern Python packaging
tools (setuptools, pip, wheel, etc.). Allows describing environment
specific dependencies in setup.py without using runtime logic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
|
| |
|
|
|
|
|
|
| |
* small changes
* AIX: implement num_ctx_switches
|
|
|
|
|
| |
Helps library users know, at a glance, what platforms are tested and
supported. This helps users know if the library is suitable for
integration in an existing project.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* AIX support
* AIX support
* AIX support
* AIX support - use get_procfs_path() instead of /proc
* AIX support - group sections like in other modules
* AIX support
* AIX support
* AIX support
* AIX support - remove unnecessary dict copy
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rename C module
* rename C file
* fix compilation error
* small refactoring
* small refactoring
* raise AccessDenied if info.pr_envp is empty, see https://github.com/giampaolo/psutil/pull/1091#issuecomment-304530771
* fix envs with no equal sign
* style
* update doc
* style
|
|
|
|
|
|
| |
* Add common functions to extract information from SunOS process address space
* SunOS feature: Add .environ()
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* freebsd: split socks.c into 2 separate files
* remove unused h files
* freebsd: split socks.c into 2 separate files
|
|
|
|
|
|
|
|
|
|
| |
* move freebsd C arch files
* rename C file
* move openbsd C arch files
* move netbsd C arch files
|
| |
|
|
|
|
| |
warnings)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #1058: have Makefile use PYTHONWARNINGS=all by default for (almost) all commands
* #1058 fix linux tests warnings
* #1058: try not to use imp module
* #1058: get rid of imp module completely
* #1058: ignore unicode warnings
* #1058: ignore stderr from procsmem.py
* #1058: fix resource warning from Popen
* #1058: get rid of contextlib.nested (deprecated)
|