comparison makeitso/makeitso.py @ 108:32893f67f85d

stub out a better python package
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 14 Jan 2011 07:35:19 -0800
parents 2142ad247eb6
children 613e9c19a98c
comparison
equal deleted inserted replaced
107:2142ad247eb6 108:32893f67f85d
511 main() 511 main()
512 512
513 513
514 # get templates from pkg_resources 514 # get templates from pkg_resources
515 # (MakeItSo! and [TODO] pastescript templates) 515 # (MakeItSo! and [TODO] pastescript templates)
516 # this should go last to ensure the module is wholly loaded 516 # this should go last to ensure the module is wholly loaded [?]
517 def get_entry_points(): 517 def get_entry_points():
518 retval = {} 518 retval = {}
519 try: 519 try:
520 from pkg_resources import iter_entry_points 520 from pkg_resources import iter_entry_points
521 for i in iter_entry_points('makeitso.templates'): 521 for i in iter_entry_points('makeitso.templates'):