<commit_before>#!/usr/bin/env python
import os
import re

import ez_setup
ez_setup.use_setuptools()

from setuptools import setup, Extension, find_packages


if os.path.isfile("MANIFEST"):
    os.unlink("MANIFEST")


BUILD_CEXTENSIONS = True


VERSION = re.search('version = "([^"]+)"',
                    open("storm/__init__.py").read()).group(1)


setup(
    name="storm",
    version=VERSION,
    description=(
        "Storm is an object-relational mapper (ORM) for Python "
        "developed at Canonical."),
    author="<NAME>",
    author_email="<EMAIL>",
    maintainer="Storm Developers",
    maintainer_email="<EMAIL>",
    license="LGPL",
    url="https://storm.canonical.com",
    download_url="https://launchpad.net/storm/+download",
    packages=find_packages(),
    package_data={"": ["*.zcml"]},
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        ("License :: OSI Approved :: GNU Library or "
         "Lesser General Public License (LGPL)"),
        "Programming Language :: Python",
        "Topic :: Database",
        "Topic :: Database :: Front-Ends",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    ext_modules=(BUILD_CEXTENSIONS and
                 [Extension("storm.cextensions", ["storm/cextensions.c"])]),
    # The following options are specific to setuptools but ignored (with a
    # warning) by distutils.
    include_package_data=True,
    zip_safe=False,
    test_suite = "tests.find_tests",
    tests_require=[
        # Versions based on Lucid, where packaged.
        "django >= 1.1.1",
        "fixtures >= 0.3.5",
        # pgbouncer (the Python module) is not yet packaged in Ubuntu.
        "pgbouncer >= 0.0.5",
        "psycopg2 >= 2.0.13",
        "testresources >= 0.2.4",
        # timeline is not yet packaged in Ubuntu.
        "timeline >= 0.0.2",
        "transaction >= 1.0.0",
        "twisted >= 10.0.0",
        "zope.component >= 3.8.0",
        # zope.component 3.11.0 requires a version of zope.interface that no
        # version of Ubuntu yet packages. The following rule exists for the
        # sake of convenience rather than necessity, for the situation where<commit_msg>Rely upon pgbouncer 0.0.6 or later, owing to unreliable shutdown problems in earlier versions.<commit_after>#!/usr/bin/env python
import os
import re

import ez_setup
ez_setup.use_setuptools()

from setuptools import setup, Extension, find_packages


if os.path.isfile("MANIFEST"):
    os.unlink("MANIFEST")


BUILD_CEXTENSIONS = True


VERSION = re.search('version = "([^"]+)"',
                    open("storm/__init__.py").read()).group(1)


setup(
    name="storm",
    version=VERSION,
    description=(
        "Storm is an object-relational mapper (ORM) for Python "
        "developed at Canonical."),
    author="<NAME>",
    author_email="<EMAIL>",
    maintainer="Storm Developers",
    maintainer_email="<EMAIL>",
    license="LGPL",
    url="https://storm.canonical.com",
    download_url="https://launchpad.net/storm/+download",
    packages=find_packages(),
    package_data={"": ["*.zcml"]},
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        ("License :: OSI Approved :: GNU Library or "
         "Lesser General Public License (LGPL)"),
        "Programming Language :: Python",
        "Topic :: Database",
        "Topic :: Database :: Front-Ends",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    ext_modules=(BUILD_CEXTENSIONS and
                 [Extension("storm.cextensions", ["storm/cextensions.c"])]),
    # The following options are specific to setuptools but ignored (with a
    # warning) by distutils.
    include_package_data=True,
    zip_safe=False,
    test_suite = "tests.find_tests",
    tests_require=[
        # Versions based on Lucid, where packaged.
        "django >= 1.1.1",
        "fixtures >= 0.3.5",
        # pgbouncer (the Python module) is not yet packaged in Ubuntu.
        "pgbouncer >= 0.0.6",
        "psycopg2 >= 2.0.13",
        "testresources >= 0.2.4",
        # timeline is not yet packaged in Ubuntu.
        "timeline >= 0.0.2",
        "transaction >= 1.0.0",
        "twisted >= 10.0.0",
        "zope.component >= 3.8.0",
        # zope.component 3.11.0 requires a version of zope.interface that no
        # version of Ubuntu yet packages. The following rule exists for the
        # sake of convenience rather than necessity, for the situation where
{'fraction_non_alphanumeric': 0.13613482162398774, 'fraction_numerical': 0.016414970453053186, 'mean_word_length': 2.712428919577579, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5742824', 'n_tokens_mistral': 1460, 'n_tokens_neox': 1364, 'n_words': 364}