mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-04 17:26:42 +00:00
Add more diagnostics
This commit is contained in:
parent
95fa85cf04
commit
a08bc864fb
@ -22,7 +22,8 @@ def pip_install(package, commit=None, **kwargs):
|
|||||||
if p.returncode > 1 and 'No command by the name pip show' not in stderr:
|
if p.returncode > 1 and 'No command by the name pip show' not in stderr:
|
||||||
raise CalledProcessError(p.returncode, cmd)
|
raise CalledProcessError(p.returncode, cmd)
|
||||||
else:
|
else:
|
||||||
check_call('pip', 'uninstall', '-y', 'sphinx')
|
print('Uninstalling {}'.format(package))
|
||||||
|
check_call('pip', 'uninstall', '-y', package)
|
||||||
package = 'git+git://github.com/{0}.git@{1}'.format(package, commit)
|
package = 'git+git://github.com/{0}.git@{1}'.format(package, commit)
|
||||||
print('Installing {}'.format(package))
|
print('Installing {}'.format(package))
|
||||||
check_call(['pip', 'install', '--upgrade', package])
|
check_call(['pip', 'install', '--upgrade', package])
|
||||||
@ -40,6 +41,7 @@ def build_docs():
|
|||||||
check_version='1.4a0.dev-20151013')
|
check_version='1.4a0.dev-20151013')
|
||||||
pip_install('michaeljones/breathe',
|
pip_install('michaeljones/breathe',
|
||||||
'511b0887293e7c6b12310bb61b3659068f48f0f4')
|
'511b0887293e7c6b12310bb61b3659068f48f0f4')
|
||||||
|
print(check_output(['pip', '--version']))
|
||||||
print(check_output(['sphinx-build', '--version']))
|
print(check_output(['sphinx-build', '--version']))
|
||||||
print('PATH:', os.environ['PATH'])
|
print('PATH:', os.environ['PATH'])
|
||||||
print(check_output(['which', 'sphinx-build']))
|
print(check_output(['which', 'sphinx-build']))
|
||||||
|
Loading…
Reference in New Issue
Block a user