Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95805d2 commit 79f1908Copy full SHA for 79f1908
setupext.py
@@ -578,8 +578,14 @@ def _try_managers(*managers):
578
# is dropped. It is available in Python 3.3+
579
_ = check_output(["which", manager],
580
stderr=subprocess.STDOUT)
581
- return ('Try installing {0} with `{1} install {2}`'
582
- .format(self.name, manager, pkg_name))
+ if manager == 'port':
+ pkgconfig = 'pkgconfig'
583
+ else:
584
+ pkgconfig = 'pkg-config'
585
+ return ('Try installing {0} with `{1} install {2}` '
586
+ 'and pkg-config with `{1} install {3}`'
587
+ .format(self.name, manager, pkg_name,
588
+ pkgconfig))
589
except subprocess.CalledProcessError:
590
pass
591
0 commit comments