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.
2 parents 04fbfa5 + 79f1908 commit 9564b06Copy full SHA for 9564b06
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