<commit_before>#!/usr/bin/env python
#
# Copyright (c) 2011-2013, Shopkick Inc.
# All rights reserved.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# ---
# Author: <NAME> <<EMAIL>>

import os
import os.path
import re
from setuptools import setup, find_packages

def markdown_to_reST(text):
  '''This is not a general purpose converter. Only converts this readme'''
  # Convert parameters to italics and prepend a newline
  text = re.sub(pattern=r"\n       (\w+) - (.+)\n",
                repl=r"\n\n       *\g<1>* - \g<2>\n",
                string=text)

  # Parse [http://url](text), and just leave the url
  text = re.sub(pattern=r"\[([^\]]+)\]\([^)]+\)",
                repl=r"\g<1>",
                string=text)

  # Disable formatting of numbered lists
  text = re.sub(pattern=r"\n(\d+). ",
                repl=r"\n\\\g<1>. ",
                string=text)
  return text

setup(
  name='flawless',
  version='0.1.2',
  description='Python Error Monitoring and Reporting',
  long_description=markdown_to_reST(open("README.md").read()),
  license='MPL 2.0',
  author='<NAME>',
  author_email='<EMAIL>',
  url='http://github.com/shopkick/flawless',
  packages=find_packages(exclude=['ez_setup', 'examples', 'packages', 'tests*']),
  data_files=[('config', [os.path.join('config', f) for f in os.listdir('config')
                          if not f.startswith('.')])],
  entry_points="""
  [console_scripts]
  flawless = flawless.server.manage:main
  """,
  classifiers=[
    "Development Status :: 3 - Alpha",
    "Framework :: Pylons",
    "Framework :: Django",
    "Framework :: Pyramid",
    "Framework :: Paste",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
    "Topic :: Software Development :: Bug Tracking",
    "Topic :: Software Development :: Quality Assurance",
  ],<commit_msg>Mark flawless as not zip safe<commit_after>#!/usr/bin/env python
#
# Copyright (c) 2011-2013, Shopkick Inc.
# All rights reserved.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# ---
# Author: <NAME> <<EMAIL>>

import os
import os.path
import re
from setuptools import setup, find_packages

def markdown_to_reST(text):
  '''This is not a general purpose converter. Only converts this readme'''
  # Convert parameters to italics and prepend a newline
  text = re.sub(pattern=r"\n       (\w+) - (.+)\n",
                repl=r"\n\n       *\g<1>* - \g<2>\n",
                string=text)

  # Parse [http://url](text), and just leave the url
  text = re.sub(pattern=r"\[([^\]]+)\]\([^)]+\)",
                repl=r"\g<1>",
                string=text)

  # Disable formatting of numbered lists
  text = re.sub(pattern=r"\n(\d+). ",
                repl=r"\n\\\g<1>. ",
                string=text)
  return text

setup(
  name='flawless',
  version='0.1.2',
  description='Python Error Monitoring and Reporting',
  long_description=markdown_to_reST(open("README.md").read()),
  license='MPL 2.0',
  author='<NAME>',
  author_email='<EMAIL>',
  url='http://github.com/shopkick/flawless',
  zip_safe=False,
  packages=find_packages(exclude=['ez_setup', 'examples', 'packages', 'tests*']),
  data_files=[('config', [os.path.join('config', f) for f in os.listdir('config')
                          if not f.startswith('.')])],
  entry_points="""
  [console_scripts]
  flawless = flawless.server.manage:main
  """,
  classifiers=[
    "Development Status :: 3 - Alpha",
    "Framework :: Pylons",
    "Framework :: Django",
    "Framework :: Pyramid",
    "Framework :: Paste",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
    "Topic :: Software Development :: Bug Tracking",
    "Topic :: Software Development :: Quality Assurance",
  ],
{'fraction_non_alphanumeric': 0.17043222003929273, 'fraction_numerical': 0.012770137524557957, 'mean_word_length': 2.981427174975562, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '387649', 'n_tokens_mistral': 1403, 'n_tokens_neox': 1320, 'n_words': 358}