<commit_before>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",
        "Sphinx",
        "Paver",
        #"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

    [toscawidgets.widgets]
    widgets = moksha.widgets.all

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

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

    #[moksha.wsgiapp]
    # Use this entry point to mount WSGI applications, which can then be accessed
    # the same as regular apps, through the `/appz/name` url.

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

    [moksha.widget]
    livefeed_demo = moksha.widgets.demos:LiveFeedDemo
    liveflot = moksha.api.widgets.flot:LiveFlotWidget
    chat = moksha.api.widgets.chat:LiveChatWidget
    #livegraph = moksha.examples.livegraph:LiveGraphWidget
    #grid = moksha.api.widgets:Grid
    ptd = moksha.widgets.misc.ptd:ProcessedTowerDefense
    placeholder = moksha.api.widgets:Placeholder

    [moksha.global]
    # The pipeline for our live widgets
    stomp_js = moksha.api.widgets.stomp:stomp_js
    orbited = moksha.api.widgets.orbited:orbited_js

    jquery = tw.jquery:jquery_js
    jquery_ui_core = tw.jquery.ui:ui_core_js
    jquery_ui_draggable = tw.jquery.ui:ui_draggable_min_js
    jquery_ui_resizable = tw.jquery.ui:ui_resizable_min_js
    #jquery_ui_dialog = tw.jquery.ui:ui_dialog_min_js
    #jquery_ui_tabs = tw.jquery.ui_tabs:jquery_ui_tabs_js
    #jquery_json_js = fedoracommunity.widgets:jquery_json_js
    #jquery_template_js = fedoracommunity.widgets:jquery_template_js

    #jquery_ui_css = moksha.widgets.jquery_ui_theme:JQueryUITheme

    # Enable support for the Blueprint CSS framework
    blueprint_ie_css = moksha.widgets.blueprint:blueprint_ie_css
    blueprint_screen_css = moksha.widgets.blueprint:blueprint_screen_css
    blueprint_print_css = moksha.widgets.blueprint:blueprint_print_css

    ## Blueprint plugins
    #blueprint_fancytype_css = moksha.widgets.blueprint:blueprint_plugin_fancytype_css

    # up up down down left right left right b a
    konami_js = moksha.widgets.misc.ptd:konami

    [moksha.menu]
    default_menu = moksha.api.menus:MokshaDefaultMenu
    contextual_menu = moksha.api.menus:MokshaContextMenu
    """,
)<commit_msg>Tweak our global resources and remove some unnecessary ones by default<commit_after>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",
        "Sphinx",
        "Paver",
        #"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

    [toscawidgets.widgets]
    widgets = moksha.widgets.all

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

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

    #[moksha.wsgiapp]
    # Use this entry point to mount WSGI applications, which can then be accessed
    # the same as regular apps, through the `/appz/name` url.

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

    [moksha.widget]
    livefeed_demo = moksha.widgets.demos:LiveFeedDemo
    liveflot = moksha.api.widgets.flot:LiveFlotWidget
    chat = moksha.api.widgets.chat:LiveChatWidget
    #livegraph = moksha.examples.livegraph:LiveGraphWidget
    #grid = moksha.api.widgets:Grid
    ptd = moksha.widgets.misc.ptd:ProcessedTowerDefense
    placeholder = moksha.api.widgets:Placeholder

    [moksha.global]
    # The pipeline for our live widgets
    stomp_js = moksha.api.widgets.stomp:stomp_js
    orbited = moksha.api.widgets.orbited:orbited_js

    jquery = tw.jquery:jquery_js
    jquery_ui_core = tw.jquery.ui_core:jquery_ui_core_js

    #jquery_ui_draggable = tw.jquery.ui:ui_draggable_min_js
    #jquery_ui_resizable = tw.jquery.ui:ui_resizable_min_js
    #jquery_ui_dialog = tw.jquery.ui:ui_dialog_min_js
    #jquery_ui_tabs = tw.jquery.ui_tabs:jquery_ui_tabs_js
    #jquery_json_js = fedoracommunity.widgets:jquery_json_js
    #jquery_template_js = fedoracommunity.widgets:jquery_template_js
    #jquery_ui_css = moksha.widgets.jquery_ui_theme:JQueryUITheme

    # Enable support for the Blueprint CSS framework
    blueprint_ie_css = moksha.widgets.blueprint:blueprint_ie_css
    blueprint_screen_css = moksha.widgets.blueprint:blueprint_screen_css
    blueprint_print_css = moksha.widgets.blueprint:blueprint_print_css

    ## Blueprint plugins
    #blueprint_fancytype_css = moksha.widgets.blueprint:blueprint_plugin_fancytype_css

    # up up down down left right left right b a
    #konami_js = moksha.widgets.misc.ptd:konami

    [moksha.menu]
    default_menu = moksha.api.menus:MokshaDefaultMenu
    contextual_menu = moksha.api.menus:MokshaContextMenu
    """,
)
{'fraction_non_alphanumeric': 0.11487995533221664, 'fraction_numerical': 0.002233389168062535, 'mean_word_length': 3.1827203736135434, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7668720', 'n_tokens_mistral': 2569, 'n_tokens_neox': 2459, 'n_words': 374}