Skip to content

Commit

Permalink
Added requirements.txt for conda packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tomacorp committed Oct 19, 2015
1 parent ff2e931 commit d47d923
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ Install conda from https://continuum.io/downloads

```bash
virtualenv pypostenv
cd ~/Developer/Python
git clone https://github.com/tomacorp/PyPost.git
cd PyPost
```

### Install the Python modules
Expand Down Expand Up @@ -238,6 +235,12 @@ conda install -n pypostenv -c auto fysom
conda env list
```

### Install the PyPost python spice post processor
mkdir -p ~/Developer/Python
cd ~/Developer/Python
git clone https://github.com/tomacorp/PyPost.git
cd PyPost

### Use the virtual environment for this project
```bash
source activate pypostenv
Expand All @@ -253,3 +256,23 @@ python ~/shared/PyPost/PyPost/PyPost.py
```bash
~/shared/PyPost/PyPost/pypostenv/bin/python ~/shared/PyPost/PyPost/PyPost.py
```

### Capture a snapshot of the virtual environment
```bash
conda list -e > requirements.txt
```
Have to remove fysom from the requirements.txt, since it comes from an
external server.

### Create a new virtual environment with
conda create -n pypostenv2 --file requirements.txt
conda install -n pypostenv2 -c auto fysom

# List conda virtual environments with
conda info -e

# Select a virtual environment with
source activate pypostenv2

# Remove a conda virtual environment with
conda remove -n pypostenv
42 changes: 42 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-64
cairo=1.12.18=4
decorator=4.0.4=py27_0
fontconfig=2.11.1=4
freetype=2.5.2=2
h5py=2.5.0=np110py27_3
hdf5=1.8.15.1=2
jpeg=8d=0
libgfortran=1.0=0
libpng=1.6.17=0
libtiff=4.0.2=1
libxml2=2.9.2=0
matplotlib=1.4.3=np110py27_2
networkx=1.10=py27_0
numpy=1.10.1=py27_0
openblas=0.2.14=3
openssl=1.0.1k=1
pandas=0.17.0=np110py27_0
pillow=3.0.0=py27_0
pip=7.1.2=py27_0
pixman=0.26.2=0
py2cairo=1.10.0=py27_2
pyparsing=2.0.3=py27_0
pyqt=4.11.4=py27_0
pyside=1.2.1=py27_1
python=2.7.10=1
python-dateutil=2.4.2=py27_0
pytz=2015.6=py27_0
qt=4.8.7=1
readline=6.2=2
scikit-image=0.11.3=np110py27_0
scipy=0.16.0=np110py27_1
setuptools=18.4=py27_0
shiboken=1.2.1=py27_0
sip=4.16.9=py27_0
six=1.10.0=py27_0
sqlite=3.8.4.1=1
tk=8.5.18=0
wheel=0.26.0=py27_1
zlib=1.2.8=0

0 comments on commit d47d923

Please sign in to comment.