<commit_before>#!/bin/python
from re import sub
from sys import argv
from setuptools import find_packages, setup

long_description = "!!! m2r not found, long_description is bad, don't upload this to PyPI !!!"
appveyor = [
    "pytest>=3.5.1,<4",
    "pytest-runner>=4.2,<5",
]
dist = [
    "m2r>=0.1.14,<2"
]
docs = [
    "mkdocs>=0.17.3,<1",
    "mkdocs-material>=2.7.3,<3"
]
test = [
    "coverage>=4.5.1,<5",
    *appveyor,
    "tox>=3.0.0,<4"
]
travis = [
    "coveralls>=1.3.0,<2",
    "tox-travis>=0.10<1"
]

if any(arg in argv for arg in ["sdist", "bdist_wheel"]):
    try:
        # noinspection PyPackageRequirements
        from m2r import parse_from_file

        long_description = sub("<!---.*?--->", "", parse_from_file("README.md"))

    except (ImportError, OSError, ValueError):
        pass

setup(
    name="pyplus",
    version="0.1.7.dev8",
    description="A library containing a collection of python extensions.",<commit_msg>Fixing readme in pypi<commit_after>#!/bin/python
from re import sub
from sys import argv
from setuptools import find_packages, setup

long_description = "!!! m2r not found, long_description is bad, don't upload this to PyPI !!!"
appveyor = [
    "pytest>=3.5.1,<4",
    "pytest-runner>=4.2,<5",
]
dist = [
    "m2r>=0.1.14,<2"
]
docs = [
    "mkdocs>=0.17.3,<1",
    "mkdocs-material>=2.7.3,<3"
]
test = [
    "coverage>=4.5.1,<5",
    *appveyor,
    "tox>=3.0.0,<4"
]
travis = [
    "coveralls>=1.3.0,<2",
    "tox-travis>=0.10<1"
]

if any(arg in argv for arg in ["sdist", "bdist_wheel"]):
    try:
        # noinspection PyPackageRequirements
        from m2r import convert

        long_description = convert(sub("<!---.*?--->", "", open("README.md").read()))

    except (ImportError, OSError, ValueError):
        pass

setup(
    name="pyplus",
    version="0.1.7.dev9",
    description="A library containing a collection of python extensions.",
{'fraction_non_alphanumeric': 0.185691741188848, 'fraction_numerical': 0.046291425565491845, 'mean_word_length': 3.1619256017505473, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '544475', 'n_tokens_mistral': 758, 'n_tokens_neox': 746, 'n_words': 154}