| 37 | | Now use these setuptools to install any python package into the Chimera specific python distribution. For example, install the virtualenv package, like so: |
| | 37 | If you prefer to use distribute instead of setuptools, try the following: |
| | 38 | {{{ |
| | 39 | $ sudo -i |
| | 40 | # export CHIMERA=/opt/UCSF/Chimera64-2010-08-05 |
| | 41 | # export PATH=$PATH:$CHIMERA/bin/ |
| | 42 | # export LD_LIBRARY_PATH=$CHIMERA/lib |
| | 43 | # curl -O http://python-distribute.org/distribute_setup.py |
| | 44 | # $CHIMERA/bin/python2.7 distribute_setup.py |
| | 45 | ... |
| | 46 | Processing distribute-0.6.14-py2.7.egg |
| | 47 | creating /opt/UCSF/Chimera64-2010-08-05/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg |
| | 48 | Extracting distribute-0.6.14-py2.7.egg to /opt/UCSF/Chimera64-2010-08-05/lib/python2.7/site-packages |
| | 49 | Adding distribute 0.6.14 to easy-install.pth file |
| | 50 | Installing easy_install script to /opt/UCSF/Chimera64-2010-08-05/bin |
| | 51 | Installing easy_install-2.7 script to /opt/UCSF/Chimera64-2010-08-05/bin |
| | 52 | |
| | 53 | Installed /opt/UCSF/Chimera64-2010-08-05/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg |
| | 54 | Processing dependencies for distribute==0.6.14 |
| | 55 | Finished processing dependencies for distribute==0.6.14 |
| | 56 | After install bootstrap. |
| | 57 | Creating /opt/UCSF/Chimera64-2010-08-05/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info |
| | 58 | Creating /opt/UCSF/Chimera64-2010-08-05/lib/python2.7/site-packages/setuptools.pth |
| | 59 | }}} |
| | 60 | |
| | 61 | |
| | 62 | Now use these tools to install any python package into the Chimera specific python distribution. For example, install the virtualenv package, like so: |