mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
2c4c20436e
EVERYTHING we depend on should eventually be under the galaxy module or packaged in eggs to avoid namespace problems.
21 lines
732 B
Bash
21 lines
732 B
Bash
#!/bin/sh
|
|
|
|
## Set MACHTYPE to something,
|
|
MACHTYPE=`uname -m`
|
|
if [[ $MACHTYPE = "Power Macintosh" ]]; then MACHTYPE="powerpc"; fi
|
|
export MACHTYPE
|
|
export LC_ALL=POSIX
|
|
|
|
KERNEL=`uname -s | tr "A-Z" "a-z"`
|
|
ARCH="$KERNEL-$MACHTYPE"
|
|
|
|
echo "Architecture appears to be $ARCH"
|
|
|
|
export UNIVERSE_HOME=`pwd`
|
|
export PATH=$PATH:$UNIVERSE_HOME/arch/$ARCH/bin:/depot/apps/$MACHTYPE/bin:/home/universe/$ARCH/EMBOSS/EMBOSS-3.0.0/bin:/home/universe/$ARCH/EMBOSS/bin:/home/universe/$ARCH/ImageMagick/bin:/home/universe/$ARCH/PAML/paml3.15/bin
|
|
export PYTHONPATH=$UNIVERSE_HOME/lib:$UNIVERSE_HOME/modules:$UNIVERSE_HOME/eggs:$UNIVERSE_HOME/arch/$ARCH/lib/python
|
|
|
|
echo "python path: $PYTHONPATH"
|
|
|
|
python2.4 ./scripts/paster.py serve universe_wsgi.ini $@
|