kopia lustrzana https://github.com/jupyterhub/repo2docker
18 wiersze
363 B
Python
Executable File
18 wiersze
363 B
Python
Executable File
#!/usr/bin/env python
|
|
import sys
|
|
from subprocess import check_output
|
|
|
|
assert sys.version_info[:2] == (3, 5), sys.version
|
|
|
|
out = check_output(["micromamba", "--version"]).decode("utf8").strip()
|
|
assert out == "1.1.0", out
|
|
|
|
out = check_output(["mamba", "--version"]).decode("utf8").strip()
|
|
assert (
|
|
out
|
|
== """mamba 1.1.0
|
|
conda 4.13.0"""
|
|
), out
|
|
|
|
import numpy
|