<commit_before>import os
from distutils.command.build import build

from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))

tests_require = [
    'freezegun',
    'factory_boy',
    'coverage',
]

here = os.path.abspath(os.path.dirname(__file__))


class BuildCommand(build):
    def run(self):
        """ Compile translation when install or build project. gettext should be installed """
        super().run()
        from django.core.management import call_command
        call_command('compilemessages')


with open(os.path.join(here, 'mapentity', 'VERSION')) as version_file:
    VERSION = version_file.read().strip()


setup(
    name='mapentity',
    version=VERSION,
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/makinacorpus/django-mapentity',
    download_url="https://pypi.python.org/pypi/mapentity/",
    description="Generic CRUD with maps",
    long_description=(open(os.path.join(here, 'README.rst')).read() + '\n\n' +
                      open(os.path.join(here, 'CHANGES.md')).read()),
    license='BSD, see LICENSE file.',
    setup_requires=['django'],  # allow compilemessages to work in setup.py
    cmdclass={"build": BuildCommand},
    install_requires=[
        'BeautifulSoup4',<commit_msg>fix stup with description<commit_after>import os
from distutils.command.build import build

from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))

tests_require = [
    'freezegun',
    'factory_boy',
    'coverage',
]

here = os.path.abspath(os.path.dirname(__file__))


class BuildCommand(build):
    def run(self):
        """ Compile translation when install or build project. gettext should be installed """
        super().run()
        from django.core.management import call_command
        call_command('compilemessages')


with open(os.path.join(here, 'mapentity', 'VERSION')) as version_file:
    VERSION = version_file.read().strip()


setup(
    name='mapentity',
    version=VERSION,
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/makinacorpus/django-mapentity',
    download_url="https://pypi.python.org/pypi/mapentity/",
    description="Generic CRUD with maps",
    long_description=(open(os.path.join(here, 'README.rst')).read()),
    license='BSD, see LICENSE file.',
    setup_requires=['django'],  # allow compilemessages to work in setup.py
    cmdclass={"build": BuildCommand},
    install_requires=[
        'BeautifulSoup4',
{'fraction_non_alphanumeric': 0.1422877640494221, 'fraction_numerical': 0.0007971303308090873, 'mean_word_length': 3.836223506743738, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5718159', 'n_tokens_mistral': 796, 'n_tokens_neox': 775, 'n_words': 157}