verify that Python 3.5 works with venv

pull/298/head
Min RK 2018-04-16 10:46:04 +02:00
rodzic 6b15b01fbd
commit c70057d8e2
3 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -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`.

Wyświetl plik

@ -0,0 +1 @@
python-3.5

Wyświetl plik

@ -0,0 +1,5 @@
#!/usr/bin/env python3
import sys
print(sys.version_info)
assert sys.version_info[:2] == (3, 5), sys.version