Code Search for Developers
 
 
  

__init__.py from Thousand Parsec at Krugle


Show __init__.py syntax highlighted

try:
	try:
		import pkg_resources
		pkg_resources.declare_namespace(__name__)
	except ImportError:
		import pkgutil
		__path__ = pkgutil.extend_path(__path__, __name__)
except Exception, e:
	import warnings
	warnings.warn(e, RuntimeWarning)

try:
	import modulefinder
	for p in __path__:
		modulefinder.AddPackagePath(__name__, p)
except Exception, e:
	import warnings
	warnings.warn(e, RuntimeWarning)




See more files for this project here

Thousand Parsec

Thousand Parsec is a framework for turn based 4 X\'s game (eXplore, eXpand, eXploit, eXterminate). Designed for long games, supporting massive universes and has an easily expanded tech tree.

Project homepage: http://sourceforge.net/projects/thousandparsec
Programming language(s): C++,Python
License: other

  client/
    pyscheme/
      t/
        factorial.scm
        generators.scm
        hello.scm
        pairs1.scm
        pocket.scm
        quine.scm
        stack.scm
        test1.scm
      LICENSE
      __init__.py
      all_tests.py
      analyzer.py
      builtins.py
      environment.py
      error.py
      evaluator.py
      expander.py
      expressions.py
      pair.py
      parser.py
      pogo.py
      prompt.py
      scheme.py
      symbol.py
      test_analyzer.py
      test_scheme.py
    ChangeDict.py
    Log.py
    __init__.py
    cache.py
    config.py
    media.py
    parser.py
    strptime.py
    threads.py
    version.py
  __init__.py