Package animio :: Module setup
[hide private]
[frames] | no frames]

Source Code for Module animio.setup

 1  #!/usr/bin/env python 
 2  # -*- coding: utf-8 -*- 
 3  """Forward the call to mrv's setup routine""" 
 4  import os 
 5  __docformat__ = "restructuredtext" 
 6   
 7   
 8  #{ Initialization 
9 -def include_setup_py():
10 """#import mrvs setup.py""" 11 # project/setup.py -> project/ext/mrv/setup.py 12 setuppath = os.path.join(os.path.dirname(os.path.realpath(os.path.abspath(__file__))) , 'ext', 'mrv', 'setup.py') 13 14 try: 15 execfile(setuppath, globals()) 16 except Exception, e: 17 # lets show the original error 18 print "Could not execute setup.py at %r" % setuppath 19 raise
20 # END exception handling 21 22 # main will be executed automatically 23 include_setup_py() 24