File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ without fiddling with environment variables.
19
19
20
20
``` sh
21
21
# create a new environment with the required packages
22
- conda create -n " matplotlib_build" python=3.4 numpy python-dateutil pyparsing pytz tornado pyqt cycler tk libpng zlib freetype
22
+ conda create -n " matplotlib_build" python=3.4 numpy python-dateutil pyparsing pytz tornado " cycler>=0.10 " tk libpng zlib freetype
23
23
activate matplotlib_build
24
+ # if you want a qt backend, you also have to install pyqt (be aware that pyqt doesn't mix well if
25
+ # you have created the environment with conda-forge already activated...)
26
+ conda install pyqt
24
27
# this package is only available in the conda-forge channel
25
28
conda install -c conda-forge msinttypes
26
29
# for python 2.7
Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ install:
73
73
74
74
# For building, use a new environment which only includes the requirements for mpl
75
75
# same things as the requirements in ci/conda_recipe/meta.yaml
76
- - cmd : conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype msinttypes tk pyparsing pytz tornado libpng zlib pyqt cycler nose mock msvc_runtime
76
+ # if conda-forge gets a new pyqt, it might be nice to install it as well to have more backends
77
+ # https://github.com/conda-forge/conda-forge.github.io/issues/157#issuecomment-223536381
78
+ - cmd : conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype=2.6 msinttypes "tk=8.5" pyparsing pytz tornado "libpng>=1.6.21,<1.7" "zlib=1.2" "cycler>=0.10" nose mock
77
79
- activate test-environment
78
80
- cmd : echo %PYTHON_VERSION% %TARGET_ARCH%
79
81
- cmd : IF %PYTHON_VERSION% == 2.7 conda install -y functools32
Original file line number Diff line number Diff line change 1
1
:: This assumes you have installed all the dependencies via conda packages:
2
2
:: # create a new environment with the required packages
3
- :: conda create -n "matplotlib_build" python=3.4 numpy python-dateutil pyparsing pytz tornado pyqt cycler tk libpng zlib freetype
3
+ :: conda create -n "matplotlib_build" python=3.4 numpy python-dateutil pyparsing pytz tornado " cycler>=0.10" tk libpng zlib freetype
4
4
:: activate matplotlib_build
5
+ :: if you want qt backend, you also have to install pyqt
6
+ :: conda install pyqt
5
7
:: # this package is only available in the conda-forge channel
6
8
:: conda install -c conda-forge msinttypes
7
9
:: if you build on py2.7:
You can’t perform that action at this time.
0 commit comments