<commit_before>import sys
from setuptools import find_packages, setup

tests_require = [
    'coverage>=4.0',
    'pytest-isort',
    'pytest-cache>=1.0',
    'pytest-flake8>=0.5',
    'pytest>=2.8.0',
    'pytest-wholenodeid',
]

needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []


setup(
    name='jupyter-notebook-gist',
    version='0.4a1',
    description='Create a gist from the Jupyter Notebook UI',
    author='Mozilla Telemetry',
    author_email='<EMAIL>',
    packages=find_packages(where='src'),
    package_dir={'': 'src'},
    include_package_data=True,
    license='MPL2',
    install_requires=[
        'ipython >= 4',<commit_msg>Added Notebook >= 4.2 to install requirements to be able to use the serverextension command.<commit_after>import sys
from setuptools import find_packages, setup

tests_require = [
    'coverage>=4.0',
    'pytest-isort',
    'pytest-cache>=1.0',
    'pytest-flake8>=0.5',
    'pytest>=2.8.0',
    'pytest-wholenodeid',
]

needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []


setup(
    name='jupyter-notebook-gist',
    version='0.4a1',
    description='Create a gist from the Jupyter Notebook UI',
    author='Mozilla Telemetry',
    author_email='<EMAIL>',
    packages=find_packages(where='src'),
    package_dir={'': 'src'},
    include_package_data=True,
    license='MPL2',
    install_requires=[
        'ipython >= 4',
        'notebook >= 4.2',
{'fraction_non_alphanumeric': 0.163659793814433, 'fraction_numerical': 0.02190721649484536, 'mean_word_length': 3.961661341853035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '270126', 'n_tokens_mistral': 569, 'n_tokens_neox': 582, 'n_words': 104}