Deleted Added
sdiff udiff text old ( 5517:3ad997252dd2 ) new ( 5518:70caf53d9d7c )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 243 unchanged lines hidden (view full) ---

252 if basename(srcfile) == '__init__.py':
253 mod.__path__ = fullname.split('.')
254 mod.__file__ = srcfile
255
256 exec file(srcfile, 'r') in mod.__dict__
257
258 return mod
259
260py_modules = {}
261for source in py_sources:
262 py_modules[source.modpath] = source.srcpath
263
264# install the python importer so we can grab stuff from the source
265# tree itself. We can't have SimObjects added after this point or
266# else we won't know about them for the rest of the stuff.
267sim_objects_fixed = True

--- 668 unchanged lines hidden ---