<commit_before>import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = [
    'pyramid',
    'SQLAlchemy',
    'transaction',
    'pyramid_tm',
    'pyramid_debugtoolbar',
    'zope.sqlalchemy',
    'waitress',
    'weberror',
    'velruse',

    'requests <= 0.14.0',
    # This breaks with the latest "requests"
    # https://github.com/copitux/python-github3/issues/26
    'pygithub3',

    'moksha.hub',
    'moksha.wsgi',

    'tw2.bootstrap.forms',
    'tw2.d3',
    ]

setup(name='statatat',
      version='0.0',
      description='statatat',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='',
      author_email='',
      url='',
      keywords='web wsgi bfg pylons pyramid',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      test_suite='statatat',
      install_requires=requires,
      entry_points="""\
      [paste.app_factory]
      main = statatat:main
      [console_scripts]
      initialize_statatat_db = statatat.scripts.initializedb:main
      """,
      )

<commit_msg>constrain version of tw2.core.<commit_after>import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = [
    'pyramid',
    'SQLAlchemy',
    'transaction',
    'pyramid_tm',
    'pyramid_debugtoolbar',
    'zope.sqlalchemy',
    'waitress',
    'weberror',
    'velruse',

    'requests <= 0.14.0',
    # This breaks with the latest "requests"
    # https://github.com/copitux/python-github3/issues/26
    'pygithub3',

    'moksha.hub',
    'moksha.wsgi',

    'tw2.core <= 2.1.1',   # only because 2.1.2 is busted
    'tw2.forms <= 2.1.1',  # only because 2.1.2 is busted
    'tw2.bootstrap.forms',
    'tw2.d3',
    ]

setup(name='statatat',
      version='0.0',
      description='statatat',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='',
      author_email='',
      url='',
      keywords='web wsgi bfg pylons pyramid',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      test_suite='statatat',
      install_requires=requires,
      entry_points="""\
      [paste.app_factory]
      main = statatat:main
      [console_scripts]
      initialize_statatat_db = statatat.scripts.initializedb:main
      """,
      )


{'fraction_non_alphanumeric': 0.15425709515859767, 'fraction_numerical': 0.013689482470784642, 'mean_word_length': 2.712515489467162, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '151253', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1042, 'n_words': 175}