File tree Expand file tree Collapse file tree 2 files changed +41
-6
lines changed Expand file tree Collapse file tree 2 files changed +41
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : testenv
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ - python=3.6
7
+ - arviz>=0.9
8
+ - theano>=1.0.4
9
+ - numpy>=1.13
10
+ - scipy>=0.18
11
+ - pandas >=0.18
12
+ - patsy>=0.5
13
+ - fastprogress>=0.2
14
+ - h5py>=2.7
15
+ - typing-extensions>=3.7
16
+ - bokeh>=0.12
17
+ - coverage>=5.1
18
+ - python-graphviz
19
+ - ipython>=7.16
20
+ - nbsphinx>=0.4
21
+ - nose>=1.3
22
+ - nose-parameterized>=0.6
23
+ - numpydoc>=0.9
24
+ - pycodestyle>=2.3
25
+ - pyflakes>=1.5
26
+ - pylint>=1.7
27
+ - pytest-cov>=2.5
28
+ - pytest>=3.0
29
+ - recommonmark>=0.4
30
+ - seaborn>=0.8
31
+ - sphinx-autobuild>=0.7
32
+ - sphinx>=1.5
33
+ - watermark
34
+ - parameterized
35
+ - black
36
+ - ipywidgets
37
+ - dataclasses # python_version < 3.7
38
+ - contextvars # python_version < 3.7
39
+ - pip :
40
+ - black_nbconvert
Original file line number Diff line number Diff line change @@ -20,24 +20,19 @@ command -v conda >/dev/null 2>&1 || {
20
20
}
21
21
22
22
ENVNAME=" ${ENVNAME:- testenv} " # if no ENVNAME is specified, use testenv
23
- PYTHON_VERSION=${PYTHON_VERSION:- 3.6} # if no python specified, use 3.6
24
23
25
24
if [ -z ${GLOBAL} ]; then
26
25
if conda env list | grep -q ${ENVNAME} ; then
27
26
echo " Environment ${ENVNAME} already exists, keeping up to date"
28
27
else
29
- conda create -n ${ENVNAME} --yes pip python=${PYTHON_VERSION}
30
28
conda config --add channels conda-forge
31
29
conda config --set channel_priority strict
30
+ conda env create -f environment-dev.yml
32
31
fi
33
32
source activate ${ENVNAME}
34
33
fi
35
34
36
35
conda update --yes --all
37
- conda install --yes python-graphviz ipywidgets
38
- conda install --yes --file requirements.txt
39
- conda install --yes --file requirements-dev.txt
40
- pip install --no-cache-dir --force-reinstall black_nbconvert
41
36
42
37
# Install editable using the setup.py
43
38
if [ -z ${NO_SETUP} ]; then
You can’t perform that action at this time.
0 commit comments