conda's not Python specific

pull/74/head
Min RK 2017-09-07 14:20:30 +02:00
rodzic b20ee4adb9
commit 123900fdbb
4 zmienionych plików z 18 dodań i 18 usunięć

Wyświetl plik

@ -1,12 +1,12 @@
Python - Mixed Requirements
---------------------------
An ``environment.yml`` takes precedence over ``requirements.txt``.
To install files into a conda environment with pip, use the ``pip`` key in ``environment.yml``:
.. sourcecode:: yaml
dependencies:
- numpy
- pip:
- tornado
Conda - Mixed Requirements
--------------------------
An ``environment.yml`` takes precedence over ``requirements.txt``.
To install Python packages into a conda environment with pip, use the ``pip`` key in ``environment.yml``:
.. sourcecode:: yaml
dependencies:
- numpy
- pip:
- tornado

Wyświetl plik

@ -1,12 +1,12 @@
#!/usr/bin/env python
import sys
assert sys.version_info[:2] == (3, 6)
assert sys.version_info[:2] == (3, 6), sys.version
import numpy
try:
import there
except ImportError:
print('ok')
pass
else:
raise Exception("'there' shouldn't have been installed from requirements.txt")

Wyświetl plik

@ -1,5 +1,5 @@
Python - Conda Environment
--------------------------
Conda Environment
-----------------
Conda environments files may allow for more complex builds and dependencies. You
can specify them in the standard YAML structure.
can specify them in the standard `environment.yml` files.

Wyświetl plik

@ -1,6 +1,6 @@
#!/usr/bin/env python
import sys
assert sys.version_info[:2] == (3, 6)
assert sys.version_info[:2] == (3, 6), sys.version
import numpy