Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Users who wish to install v0.1 should make sure they have already installed the appropriate dependencies and then run the following two commands in succession: $ git checkout v0.1 $ python setup.py install
- Loading branch information
Andrew Hearin
committed
Mar 13, 2016
1 parent
d46e3e4
commit 09410aa
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0.1 (2016-03-13) | ||
---------------- | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
:orphan: | ||
|
||
.. _installing_halotools_with_virtualenv: | ||
|
||
**************************************************** | ||
Installing Halotools using a virtual environment | ||
**************************************************** | ||
|
||
If you use `conda <https://www.continuum.io/downloads>`_ to manage | ||
your python distribution and package dependencies, it is easy to | ||
create a virtual environment that will automatically have compatible versions of the necessary dependencies required by Halotools. | ||
By installing into a virtual environment, you will not change any of the | ||
packages that are already installed system-wide on your machine. We recommend that | ||
you create the following environment that is specific to Halotools v0.1:: | ||
|
||
conda create -n halotools_v0.1 astropy=1.0.4 numpy=1.9.3 scipy=0.15.1 h5py=2.5.0 requests=2.9.1 beautifulsoup4=4.4.1 cython=0.23.4 python=2.7.11 | ||
|
||
In order to activate this environment:: | ||
|
||
source activate halotools_v0.1 | ||
|
||
You may wish to add additional packages into this environment, depending on what else you want to use when working with Halotools. This can be done by tacking on additional package names when you create the environment, and/or by running *conda install pkg_name* after activating the environment. For example:: | ||
|
||
conda create -n halotools_v0.1 astropy=1.0.4 numpy=1.9.3 scipy=0.15.1 h5py=2.5.0 requests=2.9.1 beautifulsoup4=4.4.1 cython=0.23.4 python=2.7.11 ipython matplotlib | ||
|
||
|
||
Within the *halotools_v0.1* environment, you can install v0.1 of the Halotools using pip | ||
and you should encounter no problems with package dependencies. | ||
Then whenever you want to do science involving Halotools v0.1, | ||
just activate the environment and import the code. When you are done | ||
and wish to return to your normal system environment:: | ||
|
||
source deactivate | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters