title: easy_install downloading directory
body: <p>I'm trying to install a python script packaged in egg format using easy_install.  The problem is that easy_install downloads dependencies to /tmp.  However, my tmp dir only has 4mb of free space (I am working with a NAS drive, set up this way).</p>
  
  <p>Is there a way of specifying the download directory?  --help doesn't seem to throw up anything useful.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Some more details:</p>
  
  <p>I'm running python 2.5.6 and setuputils 0.6c11-2 installed from optware. The NAS is ARM based (specifically the DNS-320 with fun_plug installed).  Please let me know if you'd like any more specific info.</p>
  
  <p>When I use the -b option, the file is still downloaded to /tmp.  It is in fact the extraction process which which uses the remaining space in tmp:</p>
  
  <blockquote>
  <pre><code>easy_install-2.5 -b /mnt/HD/HD_a2/ffp/home/root SQLAlchemy==0.7.2
  Searching for SQLAlchemy==0.7.2
  Reading http://pypi.python.org/simple/SQLAlchemy/
  Reading http://www.sqlalchemy.org
  Best match: SQLAlchemy 0.7.2
  Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.2.tar.gz#md5=b84a26ae2e5de6f518d7069b29bf8f72
  Processing SQLAlchemy-0.7.2.tar.gz
  error: No space left on device
  </code></pre>
  </blockquote>
  
  <p>I know the file is downloaded into /tmp by running ls -l /tmp/ while the download is happening:</p>
  
  <blockquote>
  <pre><code>ls -l /tmp/easy_install*
  total 891 -rw-r--r-- 1 root root 901120 Oct  1 20:35 SQLAlchemy-0.7.2.tar.gz
  </code></pre>
  </blockquote>
  
  <p>df -h output:</p>
  
  <blockquote>
  <pre><code>Filesystem            Size  Used Avail Use% Mounted on
  rootfs                9.7M  4.8M  4.5M  52% /
  /dev/root             9.7M  4.8M  4.5M  52% /
  /dev/loop0             23M   23M     0 100% /usr/local/modules
  /dev/mtdblock5        5.0M  464K  4.6M  10% /usr/local/config
  /dev/sda4             485M   16M  469M   4% /mnt/HD_a4
  /dev/sdb4             485M   11M  474M   3% /mnt/HD_b4
  /dev/sda2             1.8T  213G  1.6T  12% /mnt/HD/HD_a2
  /dev/sdb2             1.8T   69G  1.8T   4% /mnt/HD/HD_b2
  /dev/sda2             1.8T  213G  1.6T  12% /opt
  </code></pre>
  </blockquote>
  
  <p>Thanks,</p>
  
  <p>Jack</p>