diff --git a/docs/index.rst b/docs/index.rst index cfc1e26e..babaafdd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -35,7 +35,8 @@ Installation ~~~~~~~~~~~~ To install SeisFlows and its dependencies, we recommend installing within -a Conda environment to not affect your root environment. The `devel` branch +a Conda environment to not affect your root environment. The +`devel `__ branch houses the most up-to-date codebase. .. note:: @@ -51,6 +52,20 @@ houses the most up-to-date codebase. conda env create -f environment.yml conda activate seisflows +Alternative: update an existing environment +``````````````````````````````````````````` + +The above installation instructions create a **new** Conda environment named +`seisflows`. If you have an *existing* Conda environment and want to install +SeisFlows and it's dependencies there, you can run the following: + +.. code:: bash + + git clone --branch devel https://github.com/adjtomo/seisflows.git + cd seisflows + conda activate + conda env update -f environment.yml --prune + --------------------------------- diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..60684932 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()