Changeset 113

Show
Ignore:
Timestamp:
10/28/08 16:40:37 (3 years ago)
Author:
lgs
Message:

Entry point for chavier

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/chavier/app.py

    r111 r113  
    127127        return chart 
    128128 
    129 if __name__ == '__main__': 
     129def main(): 
    130130    app = App() 
    131131    app.run() 
     132    return 0 
     133     
     134if __name__ == '__main__': 
     135    main() 
  • trunk/setup.py

    r112 r113  
    4343#    ], 
    4444    zip_safe=True, 
     45    entry_points = { 
     46        'gui_scripts': [ 
     47            'chavier = chavier.app:main', 
     48        ] 
     49    } 
    4550)