mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
Print versions of software used in Travis output
This commit is contained in:
@@ -61,6 +61,9 @@ before_install:
|
|||||||
- python check_bento_build.py
|
- python check_bento_build.py
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- tools/header.py "Dependency versions"
|
||||||
|
- tools/build_versions.py
|
||||||
|
|
||||||
- python setup.py build_ext --inplace
|
- python setup.py build_ext --inplace
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
|
import scipy as sp
|
||||||
|
import matplotlib as mpl
|
||||||
|
import six
|
||||||
|
|
||||||
|
for m in (np, sp, mpl, six):
|
||||||
|
print(m.__name__.rjust(10), ' ', m.__version__)
|
||||||
|
|
||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
import sys
|
||||||
|
|
||||||
|
screen_width = 50
|
||||||
|
|
||||||
|
print('*' * screen_width)
|
||||||
|
|
||||||
|
if len(sys.argv) > 1:
|
||||||
|
header = ' '.join(sys.argv[1:])
|
||||||
|
print('*', header.center(screen_width - 4), '*')
|
||||||
|
print('*' * screen_width)
|
||||||
|
|
||||||
Reference in New Issue
Block a user