[Avida-cvs] [Avida2-svn] r39 - in trunk/source/python: . AvidaGui2
kaben at myxo.css.msu.edu
kaben at myxo.css.msu.edu
Mon Feb 28 12:52:41 PST 2005
Author: kaben
Date: 2005-02-28 15:52:41 -0500 (Mon, 28 Feb 2005)
New Revision: 39
Modified:
trunk/source/python/AvidaGui2/pyOnePop_GraphView.py
trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py
trunk/source/python/AvidaGui2/pyOnePop_TimelineView.py
trunk/source/python/setup_osx.py.in
Log:
* setup_osx.py.in: repaired subversion metadata for Python code in built
MacOS application bundle.
I did this by adding empty files to previously empty .svn
subdirectories. I don't know svn well enough to know whether this is a
dumb idea.
Modified: trunk/source/python/AvidaGui2/pyOnePop_GraphView.py
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_GraphView.py 2005-02-28 20:38:51 UTC (rev 38)
+++ trunk/source/python/AvidaGui2/pyOnePop_GraphView.py 2005-02-28 20:52:41 UTC (rev 39)
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file '/Users/kaben/Projects/Software/Avida/svn/avida2/trunk/source/python/AvidaGui2/pyOnePop_GraphView.ui'
#
-# Created: Mon Feb 28 12:04:13 2005
+# Created: Mon Feb 28 13:22:56 2005
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
Modified: trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py 2005-02-28 20:38:51 UTC (rev 38)
+++ trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py 2005-02-28 20:52:41 UTC (rev 39)
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file '/Users/kaben/Projects/Software/Avida/svn/avida2/trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui'
#
-# Created: Mon Feb 28 12:04:13 2005
+# Created: Mon Feb 28 13:22:57 2005
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
Modified: trunk/source/python/AvidaGui2/pyOnePop_TimelineView.py
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_TimelineView.py 2005-02-28 20:38:51 UTC (rev 38)
+++ trunk/source/python/AvidaGui2/pyOnePop_TimelineView.py 2005-02-28 20:52:41 UTC (rev 39)
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file '/Users/kaben/Projects/Software/Avida/svn/avida2/trunk/source/python/AvidaGui2/pyOnePop_TimelineView.ui'
#
-# Created: Mon Feb 28 12:04:13 2005
+# Created: Mon Feb 28 13:22:57 2005
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
Modified: trunk/source/python/setup_osx.py.in
===================================================================
--- trunk/source/python/setup_osx.py.in 2005-02-28 20:38:51 UTC (rev 38)
+++ trunk/source/python/setup_osx.py.in 2005-02-28 20:52:41 UTC (rev 39)
@@ -7,6 +7,7 @@
from distutils.core import setup
from glob import glob
+import os
import py2app
import site
@@ -18,9 +19,23 @@
# make a list of subversion metadata files in AvidaGui2/.svn
svn_source_dir = avida_ed_python_basedir + '/AvidaGui2/.svn'
svn_target_dir = '../Resources/Python/site-packages/AvidaGui2/.svn'
+svn_metadata_subdirs = [
+ 'prop-base',
+ 'props',
+ 'text-base',
+ 'wcprops',
+ 'tmp/prop-base',
+ 'tmp/props',
+ 'tmp/text-base',
+ 'tmp/wcprops',
+]
+
+for svn_subdir in svn_metadata_subdirs:
+ f = open(svn_source_dir + '/' + svn_subdir + '/empty-file', 'w')
+ f.close()
+
svn_metadata_files = [
- (svn_target_dir + '/' + svn_subdir, glob(svn_source_dir + '/' + svn_subdir + '/*'))
- for svn_subdir in ['prop-base', 'props', 'text-base', 'wcprops']
+ ( svn_target_dir + '/' + svn_subdir, glob(svn_source_dir + '/' + svn_subdir + '/*')) for svn_subdir in svn_metadata_subdirs
] + [
(svn_target_dir, [ svn_source_dir + '/' + svn_file for svn_file in ['empty-file', 'entries', 'format', 'README.txt']]),
]
More information about the Avida-cvs
mailing list