<commit_before>import setuptools
from numpy.distutils.core import setup


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration
    config = Configuration(None, parent_package, top_path)
    config.set_options(
        ignore_setup_xxx_py=True,
        assume_default_configuration=True,
        delegate_options_to_subpackages=True,
        quiet=True,
    )

    config.add_subpackage('enthought.tvtk')
    config.add_data_files('enthought/__init__.py')

    return config


# Function to convert simple ETS component names and versions to a requirements
# spec that works for both development builds and stable builds.
def gendeps(list):
    return ['%s >=%s.dev, <%s.dev' % (p,min,max) for p,min,max in list]

# Declare our installation requirements.
install_requires = gendeps([
    ("enthought.pyface", "2.0b1", "3"),
    ("enthought.persistence", "2.0b1", "3"),
    ])
print 'install_requires:\n\t%s' % '\n\t'.join(install_requires)


setup(
    name = 'enthought.tvtk',
    version      = '2.0b1',
    description  = "Traited VTK",
    author       = "<NAME>",
    author_email = "<EMAIL>",
    url          = 'http://www.enthought.com/enthought/wiki/TVTK',
    license = "BSD",
    install_requires = install_requires,
    extras_require = {<commit_msg>tvtk is not zip_safe<commit_after>import setuptools
from numpy.distutils.core import setup


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration
    config = Configuration(None, parent_package, top_path)
    config.set_options(
        ignore_setup_xxx_py=True,
        assume_default_configuration=True,
        delegate_options_to_subpackages=True,
        quiet=True,
    )

    config.add_subpackage('enthought.tvtk')
    config.add_data_files('enthought/__init__.py')

    return config


# Function to convert simple ETS component names and versions to a requirements
# spec that works for both development builds and stable builds.
def gendeps(list):
    return ['%s >=%s.dev, <%s.dev' % (p,min,max) for p,min,max in list]

# Declare our installation requirements.
install_requires = gendeps([
    ("enthought.pyface", "2.0b1", "3"),
    ("enthought.persistence", "2.0b1", "3"),
    ])
print 'install_requires:\n\t%s' % '\n\t'.join(install_requires)


setup(
    name = 'enthought.tvtk',
    version      = '2.0b1',
    description  = "Traited VTK",
    author       = "<NAME>",
    author_email = "<EMAIL>",
    url          = 'http://www.enthought.com/enthought/wiki/TVTK',
    license = "BSD",
    zip_safe     = False,
    install_requires = install_requires,
    extras_require = {
{'fraction_non_alphanumeric': 0.12373453318335208, 'fraction_numerical': 0.008248968878890138, 'mean_word_length': 3.5606837606837605, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4903360', 'n_tokens_mistral': 872, 'n_tokens_neox': 849, 'n_words': 191}