Changes between Version 11 and Version 12 of Software/MSI/ConfigurationNeptune


Ignore:
Timestamp:
15/05/09 16:09:06 (10 years ago)
Author:
pjkersha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/MSI/ConfigurationNeptune

    v11 v12  
    2020   ... indicates the store mount has failed.  Contact [mailto:sddcs@rl.ac.uk SDDCS] 
    2121 * wildly inaccurate dates causing unpredictable behaviour.  Contact [mailto:sddcs@rl.ac.uk SDDCS] 
     22 
     23== Python Configuration == 
     24System default is Python 2.5 in `/usr/bin`.  Site packages are installed in `/usr/local/lib64/python2.5/site-packages` 
     25 
     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`. 
     27 
     28=== Virtualenv === 
     29virtualenv bootstrap: 
     30{{{ 
     31$ virtualenv --no-site-packages myenv 
     32}}} 
     33... failed with this message: 
     34{{{ 
     35TEST FAILED: /usr/local/lib64/python2.5/site-packages/ does NOT support .pth files 
     36}}} 
     37 
     38This appears to be a problem with installations on 64-bit architectures.  Fixed with: 
     39 
     40{{{ 
     41$ export PYTHONPATH=/usr/local/lib64/python2.5/site-packages 
     42$ virtualenv --no-site-packages myenv 
     43}}} 
     44 
     45=== zc.buildout === 
     46... 
    2247 
    2348== Apache Configuration ==