<commit_before># Function to convert simple ETS project names and versions to a requirements
# spec that works for both development builds and stable builds.  Allows
# a caller to specify a max version, which is intended to work along with
# Enthought's standard versioning scheme -- see the following write up:
#    https://svn.enthought.com/enthought/wiki/EnthoughtVersionNumbers
def etsdep(p, min, max=None, literal=False):
    require = '%s >=%s.dev' % (p, min)
    if max is not None:
        if literal is False:
            require = '%s, <%s.a' % (require, max)
        else:
            require = '%s, <%s' % (require, max)
    return require


# Declare our ETS project dependencies.
ENABLE_TRAITS = etsdep('Enable[traits]', '3.3.2')
ENTHOUGHTBASE = etsdep('EnthoughtBase', '3.0.6')
#TRAITSBACKENDQT -- not needed due to the way it is used in chaco2_plot_container_editor.py
TRAITSBACKENDWX = etsdep('TraitsBackendWX', '3.5.0')  # used by chaco_plot_editor.py
TRAITS_UI = etsdep('Traits[ui]', '3.5.0')


INFO = {
    "extras_require": {
        'wx': [
            TRAITSBACKENDWX,
            ],

        # All non-ets dependencies should be in this extra to ensure users can
        # decide whether to require them or not.
        'nonets': [
            'numpy >= 1.4.0',
            #'PyQt4', -- not really required by everyone.
            #'wxPython', -- not really required by everyone.
            ],
        },
    "install_requires": [
        ENABLE_TRAITS,
        ENTHOUGHTBASE,
        TRAITS_UI,
        ],
    "name": 'Chaco',
    "version": '3.3.2',
}<commit_msg>REL: trunk is now 3.3.3<commit_after># Function to convert simple ETS project names and versions to a requirements
# spec that works for both development builds and stable builds.  Allows
# a caller to specify a max version, which is intended to work along with
# Enthought's standard versioning scheme -- see the following write up:
#    https://svn.enthought.com/enthought/wiki/EnthoughtVersionNumbers
def etsdep(p, min, max=None, literal=False):
    require = '%s >=%s.dev' % (p, min)
    if max is not None:
        if literal is False:
            require = '%s, <%s.a' % (require, max)
        else:
            require = '%s, <%s' % (require, max)
    return require


# Declare our ETS project dependencies.
ENABLE_TRAITS = etsdep('Enable[traits]', '3.3.2')
ENTHOUGHTBASE = etsdep('EnthoughtBase', '3.0.6')
#TRAITSBACKENDQT -- not needed due to the way it is used in chaco2_plot_container_editor.py
TRAITSBACKENDWX = etsdep('TraitsBackendWX', '3.5.0')  # used by chaco_plot_editor.py
TRAITS_UI = etsdep('Traits[ui]', '3.5.0')


INFO = {
    "extras_require": {
        'wx': [
            TRAITSBACKENDWX,
            ],

        # All non-ets dependencies should be in this extra to ensure users can
        # decide whether to require them or not.
        'nonets': [
            'numpy >= 1.4.0',
            #'PyQt4', -- not really required by everyone.
            #'wxPython', -- not really required by everyone.
            ],
        },
    "install_requires": [
        ENABLE_TRAITS,
        ENTHOUGHTBASE,
        TRAITS_UI,
        ],
    "name": 'Chaco',
    "version": '3.3.3',
}
{'fraction_non_alphanumeric': 0.1199874686716792, 'fraction_numerical': 0.013471177944862155, 'mean_word_length': 2.520396912899669, 'pattern_counts': {'":': 8, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1299521', 'n_tokens_mistral': 1049, 'n_tokens_neox': 1016, 'n_words': 320}