Changes between Version 39 and Version 40 of Software/MSI/ConfigurationNeptune


Ignore:
Timestamp:
17/06/09 16:51:22 (10 years ago)
Author:
pjkersha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/MSI/ConfigurationNeptune

    v39 v40  
    2424System default is Python 2.5 in `/usr/bin`.  Under SuSE, the site package location is customised to `/usr/local/lib64/python2.5/site-packages` with `/usr/lib64/python2.5/distutils/distutils.cfg`. 
    2525 
    26 Application packages will be installed separately to avoid version conflicts and maintenance problems with a single package area.  `virtualenv` or `zc.buildout` could achieve this.  `virtualenv` is easy to set-up with `mod_wsgi` - see [wiki:Software/MSI/ConfigurationNeptune/ApacheConfiguration Apache Configuration].  `zc.buildout` enables overriding control over package versions to define a package and version combination to make a stable deployment.  `zc.buildout` [http://pypi.python.org/pypi/collective.recipe.modwsgi collective.recipe.modwsgi] enables integration with `mod_wsgi`. 
     26Application packages will be installed separately to avoid version conflicts and maintenance problems with a single package area.  `virtualenv` or `zc.buildout` could achieve this.  `virtualenv` is easy to set-up with `mod_wsgi` - see [wiki:Software/MSI/ConfigurationNeptune/ApacheConfiguration Apache Configuration].  `zc.buildout` enables overriding control over package versions to define a package and version combination to make a stable deployment.  `zc.buildout` [http://pypi.python.org/pypi/collective.recipe.modwsgi collective.recipe.modwsgi] enables integration with `mod_wsgi`.  `zc.buildout` is currently the preferred means of configuration (17/06/2009). 
    2727 
    2828=== Virtualenv === 
     
    5656}}} 
    5757 
    58 Move the `setup.cfg` file to within the `virtualenv` directory so that it doesn't interfere with other components: {{{ $ mv ./setup.cfg ./myenv }}} Install setuptools `cd`ing to `myenv` directory first to ensure that `setup.cfg` is picked up: {{{ $ cd ./myenv $ wget http://peak.telecommunity.com/dist/ez_setup.py 
     58Move the `setup.cfg` file to within the `virtualenv` directory so that it doesn't interfere with other components:  
     59{{{  
     60$ mv ./setup.cfg ./myenv  
     61}}}  
     62Install setuptools `cd`ing to `myenv` directory first to ensure that `setup.cfg` is picked up:  
     63{{{  
     64$ cd ./myenv $ wget http://peak.telecommunity.com/dist/ez_setup.py 
    5965$ ./bin/python ./ez_setup.py 
    6066}}}