<commit_before>from setuptools import setup
import setuptools
import os
from os import mkdir, umask
from shutil import rmtree
import errno


def get_packages(package):
    """Return root package and all sub-packages."""
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]


setup(name='markdown_to_pdf',
      version='0.1',
      description='Python module for generating a PDF document from a set of Markdown files',
      url='https://github.com/FiwareULPGC/fiware-markdown-to-pdf',
      author='FIWARE ULPGC',
      author_email='<EMAIL>',
      license='',
      packages=setuptools.find_packages(),
      include_package_data=True,
      install_requires=[
        'pyyaml>=3.11',
        'markdown>=2.6.2',
        'pypandoc>=0.9.9',
        'pandocfilters>=1.2.4'
      ],
      entry_points={
        'console_scripts': [
          'markdown_to_pdf = markdown_to_pdf.markdown_to_pdf:main',
          'md2pdf = markdown_to_pdf.markdown_to_pdf:main',
          'md2pdf_pandoc_filter = markdown_to_pdf.pandoc_filters:main',
          'md2pdf_pandoc_paragraph_filter = markdown_to_pdf.paragraph_filters:main'<commit_msg>Fixed dependencies due to backward incompatibility since pandoc1.16. Updated version tag<commit_after>from setuptools import setup
import setuptools
import os
from os import mkdir, umask
from shutil import rmtree
import errno


def get_packages(package):
    """Return root package and all sub-packages."""
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]


setup(name='markdown_to_pdf',
      version='0.2.1',
      description='Python module for generating a PDF document from a set of Markdown files',
      url='https://github.com/FiwareULPGC/fiware-markdown-to-pdf',
      author='<NAME>',
      author_email='<EMAIL>',
      license='',
      packages=setuptools.find_packages(),
      include_package_data=True,
      install_requires=[
        'pyyaml>=3.11',
        'markdown>=2.6.2',
        'pypandoc>=0.9.9',
        'pandocfilters<=1.2.4'
      ],
      entry_points={
        'console_scripts': [
          'markdown_to_pdf = markdown_to_pdf.markdown_to_pdf:main',
          'md2pdf = markdown_to_pdf.markdown_to_pdf:main',
          'md2pdf_pandoc_filter = markdown_to_pdf.pandoc_filters:main',
          'md2pdf_pandoc_paragraph_filter = markdown_to_pdf.paragraph_filters:main'
{'fraction_non_alphanumeric': 0.11357340720221606, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 3.2487394957983193, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '4340541', 'n_tokens_mistral': 838, 'n_tokens_neox': 819, 'n_words': 158}