summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-12-30 01:59:57 -0800
committerGiampaolo Rodola <g.rodola@gmail.com>2019-12-30 01:59:57 -0800
commit699a3826398b8d6c19199ea0462f93b46dae3e69 (patch)
treeefdb62b74b67f9270147aec0ae47ead7b1118ccf /setup.py
parent84e63f12355bd96f66283e6232184b924927ff64 (diff)
downloadpsutil-699a3826398b8d6c19199ea0462f93b46dae3e69.tar.gz
windows: move net_connections() in socks.c
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index a482e427..eb9b0f8c 100755
--- a/setup.py
+++ b/setup.py
@@ -148,6 +148,7 @@ if WINDOWS:
'psutil/arch/windows/inet_ntop.c',
'psutil/arch/windows/services.c',
'psutil/arch/windows/global.c',
+ 'psutil/arch/windows/socks.c',
'psutil/arch/windows/wmi.c',
],
define_macros=macros,
@@ -406,8 +407,8 @@ def main():
else:
ur = "http://www.microsoft.com/en-us/download/"
ur += "details.aspx?id=44266"
- print(hilite("VisualStudio is not installed; get it from %s" % ur),
- ok=False, file=sys.stderr)
+ s = "VisualStudio is not installed; get it from %s" % ur
+ print(hilite(s, ok=False), file=sys.stderr)
if __name__ == '__main__':