Skip to content

Commit bc9af6b

Browse files
committed
Merge branch 'master' of github.com:TESScience/SPyFFI
2 parents f889594 + 23d90be commit bc9af6b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

INSTALL.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ These are instructions for installing SPyFFI and its (many) dependencies.
77

88
If you don't have a relatively modern Python 2.7 distribution, download and install [`anaconda`](https://www.continuum.io/downloads). It's an easy way to get a self-managed Python distribution, where you have easy control over the libraries and can install packages with something like `pip`.
99

10+
### Sandboxed Installation
11+
12+
***If you wish to globally install SPyFFI, skip this step.***
13+
14+
It is convenient to make a self-contained sandboxed installation if you are wish to develop SPyFFI or do not otherwise have admin permission on your machine.
15+
16+
To make a sandboxed installation, you will need [`virtualenv`](http://docs.python-guide.org/en/latest/dev/virtualenvs/) installed. Then type at the command line, assuming you are using the BASH shell:
17+
18+
virtualenv -p $(which python2.7) spyffi_sandbox
19+
source ./spyffi_sandbox/bin/activate
20+
21+
Now all `pip` commands (such as the ones below) will install python modules into the `spyffi_sandbox` directory.
22+
1023
### Installing The Latest Release
1124

1225
To install the latest release, type:
@@ -21,4 +34,4 @@ To install a developer snapshot, type:
2134

2235
### Data Files
2336

24-
When you first import `spyffi`, it will download some files into `.tess/spyffi`. If you would like these to be imported to somewhere else, set the `SPYFFIDATA` environment variable in your shell.
37+
When you first import `spyffi`, it will download some files into `~/.tess/spyffi`. If you would like these to be imported to somewhere else, export the `SPYFFIDATA` environment variable in your shell.

0 commit comments

Comments
 (0)