kopia lustrzana https://github.com/jupyterhub/repo2docker
verify that Python 3.5 works with venv
rodzic
6b15b01fbd
commit
c70057d8e2
|
@ -0,0 +1,9 @@
|
||||||
|
System - Specifying runtime environments
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
You can specify runtime environments (such as Python 2 or 3) with a
|
||||||
|
``runtime.txt`` file.
|
||||||
|
|
||||||
|
This is an example that selects Python 3. Currently you can not use
|
||||||
|
this to select a sepcific version of Python 3 (e.g. 3.4 vs 3.6). If you
|
||||||
|
need this level of control we recommend you use a `environment.yml`.
|
|
@ -0,0 +1 @@
|
||||||
|
python-3.5
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
import sys
|
||||||
|
|
||||||
|
print(sys.version_info)
|
||||||
|
assert sys.version_info[:2] == (3, 5), sys.version
|
Ładowanie…
Reference in New Issue