Changes between Version 1 and Version 2 of CdatLite/SuperEasyInstall


Ignore:
Timestamp:
06/02/09 16:54:02 (11 years ago)
Author:
spascoe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CdatLite/SuperEasyInstall

    v1 v2  
    1 Sometimes {{{easy_install}}} doesn't seem so easy.  Maybe you don't have full control of your python environment because you don't have root access.  The tool [http://pypi.python.org/pypi/virtualenv virtualenv] allows you to create isolated python environments where you can {{{easy_install}}} anything you want.  It also allows you to create custom install scripts for putting packages in your virtualenv.   
     1= CdatLite/SuperEasyInstall = 
     2 
     3Sometimes {{{easy_install}}} doesn't seem so easy.  Maybe you don't have full control of your python environment because you don't have root access.  Maybe you don't have {{{setuptools}}} installed.  The tool [http://pypi.python.org/pypi/virtualenv virtualenv] allows you to create isolated python environments where you can {{{easy_install}}} anything you want.  It also allows you to create custom install scripts for putting packages in your virtualenv.   
    24 
    35I've used this feature to create a script that will download cdat_lite and csml into their own virtualenv.  This should work even if you don't have root access to the machine you are using.  You don't need to run ez_setup.py to get setuptools and you definitely don't need to install virtualenv. 
    46 
    5 = csml-bootstrap.py = 
     7== csml-bootstrap.py == 
    68 
    79The bootstrap script can be downloaded from http://ndg.nerc.ac.uk/dist/csml-bootstrap.py.  It requires a few things to work: