summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* makefile: integrate abi3audit CLI tool + refactoringGiampaolo Rodola2023-04-291-34/+34
|
* revert previous makefile commit as it requires bashGiampaolo Rodola2023-04-291-11/+10
|
* Makefile: expand variablesGiampaolo Rodola2023-04-291-11/+12
| | | | | | Using $(shell ...) instead of `...` expands all variables. Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* SunOS: fix some C compilation warningsGiampaolo Rodola2023-04-221-1/+1
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* BSD big refact: move proc funcs in new proc.c fileGiampaolo Rodola2023-04-191-0/+1
|
* Fix pylint warnings / cleanup (#2218)Giampaolo Rodola2023-04-011-5/+10
|
* Makefile: set PSUTIL_SCRIPTS_DIR for 'test' target (re. to #2211)Giampaolo Rodola2023-03-181-1/+1
|
* disable flaky test + small Makefile refactGiampaolo Rodola2023-01-241-6/+9
|
* fix make test-coverage targetGiampaolo Rodola2022-12-301-1/+1
|
* write extensive test suite for @memoize decoratorGiampaolo Rodola2022-12-151-5/+1
|
* improve and rename print_wheels.py scriptGiampaolo Rodola2022-11-111-5/+5
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* fix long_description on Windows (see: #2168)Giampaolo Rodola2022-11-111-3/+3
|
* minor fixes to pypi upload machineryrelease-5.9.4Giampaolo Rodola2022-11-071-7/+1
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* pre releaseGiampaolo Rodola2022-11-071-2/+2
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* move isort and coverage config into pyproject.tomlGiampaolo Rodola2022-10-181-3/+3
| | | | | | ...since pyproject.toml was introduced in #2040. CC @mayeut Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* add ifconfig test case for NIC flags re. to #2037Giampaolo Rodola2022-09-061-1/+1
|
* fix venvrelease-5.9.2Giampaolo Rodola2022-09-041-4/+3
|
* FreeBSD / pids(): increase buf size if not enoughGiampaolo Rodola2022-09-021-0/+1
| | | | | ...dynamically, in case of ENOMEM, instead of crashing. Fixes #2093.
* remove 'import setuptools' from 'make install' as it's unnecessary and slowGiampaolo Rodola2022-07-071-2/+0
|
* refactor Makefile a bitGiampaolo Rodola2022-07-051-5/+4
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* make fix-flake8: parallelize autoflake8 executionGiampaolo Rodola2022-06-241-2/+2
| | | | | | | ...by pip-installing a PR I provided for autoflake8 packages which adds --jobs option to the tool, see https://github.com/PyCQA/autoflake/pull/107 Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* update flake8-ersGiampaolo Rodola2022-06-081-3/+4
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* add flake8-quotes pluginGiampaolo Rodola2022-05-251-0/+1
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* add flake8-debugger plugin to detect pdb/set_trace() linesGiampaolo Rodola2022-05-251-1/+2
|
* integrate flake8-blind-except pluginGiampaolo Rodola2022-05-251-1/+2
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* introduce flake8-bugbear code checkerGiampaolo Rodola2022-05-251-7/+8
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* remove tidelift.py scriptGiampaolo Rodola2022-05-201-4/+0
|
* update docGiampaolo Rodola2022-04-161-1/+5
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* Drop Python 2.6 support (#2099)Hugo van Kemenade2022-04-161-3/+1
| | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Drop Python 2.6 support (#2039)Matthieu Darbois2022-04-151-1/+1
| | | Signed-off-by: mayeut <mayeut@users.noreply.github.com>
* add autoflake automation tool to remove unused modules & variableGiampaolo Rodola2022-04-101-1/+3
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* use autopep8 to automatically fix (some) flake8 failures; get rid of old ↵Giampaolo Rodola2022-04-061-2/+3
| | | | | | handmade script Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* Automatically sort imports (isort CLI tool) (#2033)Giampaolo Rodola2021-12-141-6/+18
|
* Fix CI tests / wheels / workflow (#2024)Giampaolo Rodola2021-11-291-1/+3
| | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* PSUTIL_DEBUG: print file + line number for C ext modules (#2005)Giampaolo Rodola2021-10-261-1/+1
|
* add Chenyoo Hao to list of supportersGiampaolo Rodola2021-06-061-0/+1
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* make clean: add -v optGiampaolo Rodola2020-12-221-2/+2
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* update docGiampaolo Rodola2020-12-191-0/+1
| | | | Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* refactor wheels download scriptsGiampaolo Rodola2020-11-151-2/+2
|
* Remove Travis and Cirrus, use GH also for FreeBSD (#1880)Giampaolo Rodola2020-11-151-8/+6
|
* Rewrite Linux prlimit() with ctypes (Linux wheels) (#1879)Giampaolo Rodola2020-11-151-10/+9
|
* script to convert README for PYPIGiampaolo Rodola2020-10-241-0/+2
|
* pypi download stats scriptGiampaolo Rodola2020-10-171-13/+27
|
* Wheels2 (#1761)Giampaolo Rodola2020-05-181-2/+5
|
* rename memleaks scriptGiampaolo Rodola2020-05-131-1/+1
|
* Drastically improve "make test/build" speed.Giampaolo Rodola2020-05-011-22/+22
| | | | | | | Doing "make install" before any test is slow and not really necessary. Instead do "make build", and remove the part import setuptools and test psutil can be imported (do that in make install instead). This way I went down from 0.8 secs (install phase before starting the test) to 0.3 secs!
* Per-test file cleanup and new PsutilTestCase (#1743)Giampaolo Rodola2020-04-301-1/+1
| | | | | Test files/dirs are now removed after each test. when invoked via self.get_testfn(). Until now test files were stored in a global variable and were removed at process exit, via atexit.register(), but this didn't work with parallel tests because the fork()ed workers use os._exit(0), preventing cleanup functions to run. All test classes now inherit from PsutilTestCase class, which provides the most important methods requiring an automatic cleanup (get_test_subprocess() and others).
* See: #1709: allow per-test parallelizationGiampaolo Rodola2020-04-301-21/+28
| | | | | | | | Refactor test runner.py with a saner unittest-based class hierarchy so that --parallel args affects all test suites (all, by-name, failed). Also change Makefile which now can be used like this: make test-process ARGS=--parallel
* psutil.Popen: inherit from subprocess + support wait(timeout=...) parameter ↵Giampaolo Rodola2020-04-281-1/+1
| | | | (#1736)
* Parallel tests (UNIX) (#1709)Giampaolo Rodola2020-04-261-1/+6
|