summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-05-14 21:17:09 -0400
committerGiampaolo Rodola <g.rodola@gmail.com>2016-05-14 21:17:09 -0400
commit3ff8fce69f6635efb09b159cf87c7afffd49c598 (patch)
tree1a73fe5442fe4b74a297fc0c933969c21fbcc1ae
parent8ce2c7b9c2e056d60c4f80e11e30b8f38559eec0 (diff)
downloadpsutil-3ff8fce69f6635efb09b159cf87c7afffd49c598.tar.gz
force build of old 4.1.0 verappveyor-experiments
-rw-r--r--Makefile1
-rw-r--r--psutil/__init__.py24
2 files changed, 12 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index bc8dbf00..ba3fec99 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,6 @@ install-git-hooks:
ln -sf ../../.git-pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
-
# download exes/wheels hosted on appveyor
win-download-exes:
$(PYTHON) .ci/appveyor/download_exes.py --user giampaolo --project psutil
diff --git a/psutil/__init__.py b/psutil/__init__.py
index 1265768d..204523de 100644
--- a/psutil/__init__.py
+++ b/psutil/__init__.py
@@ -187,7 +187,7 @@ __all__ = [
]
__all__.extend(_psplatform.__extra__all__)
__author__ = "Giampaolo Rodola'"
-__version__ = "4.2.0"
+__version__ = "4.1.0"
version_info = tuple([int(num) for num in __version__.split('.')])
AF_LINK = _psplatform.AF_LINK
_TOTAL_PHYMEM = None
@@ -1991,19 +1991,19 @@ def users():
# =====================================================================
-if WINDOWS:
+# if WINDOWS:
- def win_service_iter():
- """Return a generator yielding a WindowsService instance for all
- Windows services installed.
- """
- return _psplatform.win_service_iter()
+# def win_service_iter():
+# """Return a generator yielding a WindowsService instance for all
+# Windows services installed.
+# """
+# return _psplatform.win_service_iter()
- def win_service_get(name):
- """Get a Windows service by name.
- Raise NoSuchProcess if no service with such name exists.
- """
- return _psplatform.win_service_get(name)
+# def win_service_get(name):
+# """Get a Windows service by name.
+# Raise NoSuchProcess if no service with such name exists.
+# """
+# return _psplatform.win_service_get(name)
# =====================================================================