<commit_before>import os
from setuptools import setup

setup(
  name = "Django Pagedown",
  version = "0.0.1dev",
  author = "<NAME>",
  author_email = "<EMAIL>",
  url = "https://github.com/pastylegs/django-pagedown",
  description = ("A django app that allows the easy addition of Stack Overflow's 'PageDown' markdown editor to a django form field"),
  long_description=open('README.md').read(),
  packages=['pagedown'],
  install_requires=[
    "Django >= 1.2",
  ],
  license='LICENSE.txt',
)<commit_msg>run submodule init & update during build<commit_after>import os
from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build

class build_with_submodules(build):
    def run(self):
        if path.exists('.git'):
            check_call(['git', 'submodule', 'init'])
            check_call(['git', 'submodule', 'update'])
        build.run(self)


setup(
  name = "Django Pagedown",
  version = "0.0.1dev",
  author = "<NAME>",
  author_email = "<EMAIL>",
  url = "https://github.com/pastylegs/django-pagedown",
  description = ("A django app that allows the easy addition of Stack Overflow's 'PageDown' markdown editor to a django form field"),
  long_description=open('README.md').read(),
  packages=['pagedown'],
  install_requires=[
    "Django >= 1.2",
  ],
  license='LICENSE.txt',
  cmdclass={"build": build_with_submodules},
)
{'fraction_non_alphanumeric': 0.14661921708185052, 'fraction_numerical': 0.0071174377224199285, 'mean_word_length': 4.226765799256506, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 9, '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': '6655866', 'n_tokens_mistral': 453, 'n_tokens_neox': 444, 'n_words': 120}