kopia lustrzana https://github.com/jupyterhub/repo2docker
test conda with python 2 env
rodzic
5984a08e66
commit
d7dd6cd073
|
@ -0,0 +1,5 @@
|
||||||
|
Conda Environment
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Conda environments files may allow for more complex builds and dependencies. You
|
||||||
|
can specify them in the standard `environment.yml` files.
|
|
@ -0,0 +1,3 @@
|
||||||
|
dependencies:
|
||||||
|
- python=2
|
||||||
|
- numpy
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
import sys
|
||||||
|
|
||||||
|
assert sys.version_info[:2] == (2, 7), sys.version
|
||||||
|
|
||||||
|
import numpy
|
Ładowanie…
Reference in New Issue