<commit_before>from __future__ import absolute_import
import subprocess

from setuptools import setup

try:
    pandoc = subprocess.Popen(['pandoc', 'README.md', '--to', 'rst'],
                              stdout=subprocess.PIPE)

    readme = pandoc.communicate()[0].decode()

except OSError:
    with open('README.md') as f:
        readme = f.read()

setup(
    name="notedown",
    version="1.5.0",
    description="Convert markdown to IPython notebook.",
    long_description=readme,
    packages=['notedown'],
    author="<NAME>",
    author_email='<EMAIL>',
    license='BSD 2-Clause',
    url='http://github.com/aaren/notedown',
    install_requires=['nbformat',
                      'nbconvert',
                      'ipython',  # because of nbconvert
                      'pandoc-attributes',
                      'six'],
    entry_points={'console_scripts': ['notedown = notedown.main:app', ]},
    package_dir={'notedown': 'notedown'},
    package_data={'notedown': ['templates/markdown.tpl',
                               'templates/markdown_outputs.tpl']},
    include_package_data=True,
)<commit_msg>remove ipython / jupyter dependency<commit_after>from __future__ import absolute_import
import subprocess

from setuptools import setup

try:
    pandoc = subprocess.Popen(['pandoc', 'README.md', '--to', 'rst'],
                              stdout=subprocess.PIPE)

    readme = pandoc.communicate()[0].decode()

except OSError:
    with open('README.md') as f:
        readme = f.read()

setup(
    name="notedown",
    version="1.5.0",
    description="Convert markdown to IPython notebook.",
    long_description=readme,
    packages=['notedown'],
    author="<NAME>",
    author_email='<EMAIL>',
    license='BSD 2-Clause',
    url='http://github.com/aaren/notedown',
    install_requires=['nbformat',
                      'nbconvert',
                      'pandoc-attributes',
                      'six'],
    entry_points={'console_scripts': ['notedown = notedown.main:app', ]},
    package_dir={'notedown': 'notedown'},
    package_data={'notedown': ['templates/markdown.tpl',
                               'templates/markdown_outputs.tpl']},
    include_package_data=True,
)
{'fraction_non_alphanumeric': 0.14622000905387053, 'fraction_numerical': 0.004526935264825713, 'mean_word_length': 2.576051779935275, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '6751780', 'n_tokens_mistral': 693, 'n_tokens_neox': 684, 'n_words': 117}