[Avida-cvs] [avida3-svn] r43 - trunk
kaben@myxo.css.msu.edu
kaben at myxo.css.msu.edu
Sat Apr 8 16:54:43 PDT 2006
Author: kaben
Date: 2006-04-08 19:54:43 -0400 (Sat, 08 Apr 2006)
New Revision: 43
Added:
trunk/BuildAvida.py
Removed:
trunk/BuildAvida.sh
Log:
Renamed top build script to reflect that it's a python script.
Copied: trunk/BuildAvida.py (from rev 41, trunk/BuildAvida.sh)
Deleted: trunk/BuildAvida.sh
===================================================================
--- trunk/BuildAvida.sh 2006-04-08 23:53:00 UTC (rev 42)
+++ trunk/BuildAvida.sh 2006-04-08 23:54:43 UTC (rev 43)
@@ -1,61 +0,0 @@
-#! /usr/bin/env python
-
-##############################################################################
-## Copyright (C) 1999-2005 Michigan State University ##
-## Based on work Copyright (C) 1993-2003 California Institute of Technology ##
-## ##
-## Read the COPYING and README files, or contact 'avida at alife.org', ##
-## before continuing. SOME RESTRICTIONS MAY APPLY TO USE OF THIS FILE. ##
-##############################################################################
-
-# Use this script to build Avida. It will read build configuration
-# information from the file 'SConstruct' in the same directory as this
-# file.
-#
-# This script calls the SCons build tool, passing on any command-line
-# arguments. For convenience, the SCons build tool is included with the
-# Avida source code, and can be found in the subdirectory
-# 'support/third-party/scons'.
-#
-# For more information about SCons, see
-#
-# http://www.scons.org
-#
-# or read the SCons html documentation in the included file
-#
-# support/third-party/scons/scons-user.html
-#
-
-import os
-import sys
-
-import pdb
-
-# Unless user has asked for silence or help, print a short help message
-# offering more help if needed.
-if '-h' not in sys.argv \
-and '-H' not in sys.argv \
-and '-s' not in sys.argv \
-and '--silent' not in sys.argv \
-and '--quiet' not in sys.argv:
- print """
-Note: if you need help, type
-%s -h
-""" % sys.argv[0]
-
-# Tell Python where to find the main SCons build script.
-scons_rel_dir = 'support/third-party/scons'
-scons_abs_dir = os.path.join(sys.path[0], 'support/third-party/scons')
-sys.path.append(scons_abs_dir)
-
-# Tell Python where to find the SCons library.
-scons_rel_lib_dir = 'support/third-party/scons/scons-local-0.96.91'
-scons_abs_lib_dir = os.path.join(sys.path[0], scons_rel_lib_dir)
-os.environ["SCONS_LIB_DIR"] = scons_abs_lib_dir
-
-# Any command line arguments are propagated to the main SCons build
-# script when it is imported by the next line.
-import scons
-
-# Vim modeline to tell Vim that this is a Python script.
-# vim: set ft=python:
More information about the Avida-cvs
mailing list