|
3 | 3 | [](https://travis-ci.org/JuliaPy/Conda.jl) |
4 | 4 | [](https://ci.appveyor.com/project/StevenGJohnson/conda-jl) |
5 | 5 |
|
6 | | - |
7 | 6 | This package allows one to use [conda](http://conda.pydata.org/) as a binary |
8 | 7 | provider for Julia. While other binary providers like |
9 | 8 | [Homebrew.jl](https://github.com/JuliaLang/Homebrew.jl), |
@@ -121,21 +120,19 @@ conda create -n conda_jl python conda |
121 | 120 | export CONDA_JL_HOME="/path/to/miniconda/envs/conda_jl" |
122 | 121 | julia -e 'Pkg.build("Conda")' |
123 | 122 | ``` |
124 | | -## Miniconda Python Version |
125 | | -There are two versions of Miniconda, one for Python 2, and one for Python 3. |
126 | | -This controls the initial version of python uses in the setup of Conda itself, |
127 | | -and thus the default version of python for all dependancies. |
128 | | -You can change the version by setting the enviroment variable `CONDA_JL_VERSION` to `"3"`, prior to installing the Conda.jl package. |
129 | | -The Miniconda version used in an existing conda enviroment can not be changed. |
130 | | -Except for the creation of the initial `ROOTENV`, they are identical up to upgrading the version of python, and all that depend upon it. |
131 | | -See [the Conda documentation for more information](https://conda.io/docs/py2or3.htm). |
132 | | - |
133 | | - |
134 | | -Normal users will not normally need to touch the miniconda verion setting. |
135 | | -This is provided primary for package developers wishing to test their packages |
136 | | -with python dependencies, to ensure it works for both Python 2 and Python 3. |
137 | | -See docs for defining enviroment variables in [TravisCI](https://docs.travis-ci.com/user/environment-variables/), and [AppVeyor](https://www.appveyor.com/docs/build-configuration/#environment-variables). |
138 | | - |
| 123 | +## Using Python 2 |
| 124 | +By default, the Conda.jl package [installs Python 3]((https://conda.io/docs/py2or3.htm)), |
| 125 | +and this version of Python is used for all Python dependencies. If you want to |
| 126 | +use Python 2 instead, set `CONDA_JL_VERSION` to `"2"` *prior to installing Conda*. |
| 127 | +(This only needs to be done once; Conda subsequently remembers the version setting.) |
| 128 | + |
| 129 | +Once you have installed Conda and run its Miniconda installer, the Python version |
| 130 | +cannot be changed without deleting your existing Miniconda installation. |
| 131 | +If you set `ENV["CONDA_JL_VERSION"]="2"` and run `Pkg.build("Conda")`, it will |
| 132 | +tell you how to delete your existing Miniconda installation if needed. |
| 133 | + |
| 134 | +Most users will not need to use Python 2. This is provided primarily for developers wishing to test their packages for both Python 2 and Python, e.g. by setting the `CONDA_JL_VERSION` |
| 135 | +variable on [TravisCI](https://docs.travis-ci.com/user/environment-variables/) and/or [AppVeyor](https://www.appveyor.com/docs/build-configuration/#environment-variables). |
139 | 136 |
|
140 | 137 |
|
141 | 138 | ## Bugs and suggestions |
|
0 commit comments