from setuptools import setup, find_packages

setup(
    name='moksha',
    version='0.1',
    description='',
    author='',
    author_email='',
    #url='',
    install_requires=[
        "TurboGears2",
        "ToscaWidgets >= 0.9.1",
        "zope.sqlalchemy",
        "Shove",
        "feedcache",
        "feedparser",
        "tw.jquery",
        "repoze.squeeze",
        "repoze.profile",
        "orbited",
        "twisted",
        "stomper",
        #"WidgetBrowser", # not in PyPi yet
    ],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    tests_require=['WebTest', 'BeautifulSoup'],
    package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo',
                                 'templates/*/*',
                                 'public/*/*']},
    message_extractors = {'moksha': [
            ('**.py', 'python', None),
            ('templates/**.mako', 'mako', None),
            ('templates/**.html', 'genshi', None),
            ('public/**', 'ignore', None)]},

    entry_points="""

    [paste.app_factory]
    main = moksha.config.middleware:make_app

    [paste.app_install]
    main = pylons.util:PylonsInstaller

    [moksha.stream]
    feed = moksha.streams.feed:FeedStream
    demo = moksha.streams.demo:MokshaDemoDataStream
    livegraph = moksha.examples.livegraph:LiveGraphDataStream

    #[moksha.consumer]
    #moksha = moksha.hub.hub:MokshaConsumer

    [moksha.application]
    menu = moksha.api.menus.controllers:MokshaMenuController

    [moksha.widget]
    liveflot = moksha.api.widgets.flot:LiveFlotWidget
    livefeed = moksha.api.widgets.feed.live:LiveFeedWidget
    livegraph = moksha.examples.livegraph:LiveGraphWidget
    chat = moksha.api.widgets.chat:LiveChatWidget
    grid = moksha.api.widgets:Grid

    [moksha.global]
    jquery = tw.jquery:jquery_js

    [moksha.menu]
    default_menu = moksha.api.menus:MokshaDefaultMenu
    """,
)

@@ -1856,16 +1856,577 @@
 query_js
+%0A    jquery_ui_tabs = tw.jquery.ui_tabs:jquery_ui_tabs_js%0A    #jquery_json_js = fedoracommunity.widgets:jquery_json_js%0A    #jquery_template_js = fedoracommunity.widgets:jquery_template_js%0A%0A    # Enable support for the Blueprint CSS framework%0A    blueprint_ie_css = moksha.widgets.blueprint:blueprint_ie_css%0A    blueprint_screen_css = moksha.widgets.blueprint:blueprint_screen_css%0A    blueprint_print_css = moksha.widgets.blueprint:blueprint_print_css%0A%0A    # Blueprint plugins%0A    blueprint_fancytype_css = moksha.widgets.blueprint:blueprint_plugin_fancytype_css
 %0A%0A    %5Bm

Enable some more jquery plugins and blueprint by default in moksha.