@@ -3,11 +3,11 @@ Installation
33
44The easiest and most reliable way to install the ODM2 Python API
55(``odm2api ``) is using the `Conda package management
6- system <http ://conda.pydata.org /docs/> `__ via either
7- `Anaconda <https://www.continuum.io/downloads >`__ or
8- `Miniconda <http ://conda.pydata.org /miniconda.html >`__. To start using
6+ system <https ://conda.io /docs/> `__ via either
7+ `Anaconda <https://www.anaconda.com/download/ >`__ or
8+ `Miniconda <https ://conda.io /miniconda.html >`__. To start using
99conda (if it's not your system default), add conda to the PATH; on
10- MacOSX and Linux, it's something like
10+ OS X and Linux, it's something like
1111``export PATH=$HOME/miniconda/bin:$PATH ``, but the exact path may vary.
1212
1313To activate a conda environment, say, "myenv":
@@ -27,7 +27,7 @@ Latest release, from ODM2 anaconda.org channel
2727The `latest ``odm2api ``
2828release <https://github.com/ODM2/ODM2PythonAPI/releases>`__ is available
2929on the `ODM2 anaconda.org channel <https://anaconda.org/odm2/odm2api >`__
30- for all major OS paltforms (linux, OSX , win32/win64). To install it on
30+ for all major OS paltforms (linux, OS X , win32/win64). To install it on
3131an existing conda environment:
3232
3333::
@@ -47,19 +47,13 @@ To create a new environment "myenv" with the ``odm2api`` package:
4747Installing the development version from the ``master `` branch on GitHub
4848-----------------------------------------------------------------------
4949
50- **Note from 4/26/2016: ** These instructions may be slightly outdated.
51- Follow these directions for installing the bleeding edge GitHub master
52- branch, mainly for development and testing purposes.
53-
54- To create a new environment "myenv" with ``odm2api ``, first download the
55- conda environment file
56- `condaenvironment\_ 1.yml <https://raw.githubusercontent.com/ODM2/ODM2PythonAPI/master/condaenvironment_1.yml >`__.
57- Go to the directory where ``condaenvironment_1.yml `` was downloaded.
50+ To create a new environment "myenv" with ``odm2api ``, first clone the repository.
5851Then, on a terminal shell:
5952
6053.. code :: bash
6154
6255 conda env create -n myenv --file py2_conda_environment.yml
56+ conda create --name myenv python=2.7 --file requirements.txt --file requirements-dev.txt
6357
6458 Activate the new environment, then install ``odm2api `` into the
6559environment:
@@ -68,5 +62,3 @@ environment:
6862
6963 activate myenv # On Windows
7064 source activate myenv # On MacOSX or Linux
71-
72- pip install --process-dependency-links git+https://github.com/ODM2/ODM2PythonAPI.git
0 commit comments