Changeset 9677 for trunk/anuga_core/anuga
- Timestamp:
- Feb 17, 2015, 4:52:27 PM (10 years ago)
- Location:
- trunk/anuga_core/anuga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/file_conversion/setup.py
r9569 r9677 14 14 15 15 config.add_data_dir('tests') 16 config.add_data_dir(join('tests','data'))17 16 18 17 util_dir = os.path.abspath(join(os.path.dirname(__file__),'..','utilities')) -
trunk/anuga_core/anuga/parallel/tests/test_parallel_boyd_box_operator.py
r9638 r9677 333 333 if myid == 0: 334 334 if verbose: print 'PARALLEL START' 335 random.seed(1001) 335 336 for i in range(samples): 336 337 x = random.randrange(0,1000)/1000.0 * length -
trunk/anuga_core/anuga/utilities/system_tools.py
r9254 r9677 194 194 195 195 def get_revision_number(): 196 """Get the version number of this repository copy. 197 198 Try getting data from stored_version_info.py first, otherwise 199 try using SubWCRev.exe (Windows) or svnversion (linux), otherwise 200 try reading file .svn/entries for version information, otherwise 201 throw an exception. 202 203 NOTE: This requires that the command svn is on the system PATH 204 (simply aliasing svn to the binary will not work) 205 """ 206 207 # try to get revision information from stored_version_info.py 208 try: 209 return __get_revision_from_svn_client__() 210 except: 211 try: 212 from anuga.stored_version_info import version_info 213 return process_version_info(version_info) 214 except: 215 from anuga.version import version 216 return version 196 """Get the (svn) revision number of this repository copy. 197 """ 198 199 from anuga import __svn_revision__ as revision 200 return revision 201 217 202 218 203 def process_version_info(version_info):
Note: See TracChangeset
for help on using the changeset viewer.