<commit_before>#!/usr/bin/env python

import sys
from setuptools import setup, find_packages


needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest_runner'] if needs_pytest else []
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []

# TODO: add README.rst, so we can use on both Github and PyPI
# with open('README.rst', 'r') as f:
#     long_description = f.read()

setup(
    name="ufo_extractor",
    version="0.2.0.dev0",
    description="Tools for extracting data from font binaries into UFO objects.",
    # long_description=long_description,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/typesupply/extractor",
    license="MIT",<commit_msg>setup.py: read long_description from README.rst<commit_after>#!/usr/bin/env python

import sys
from setuptools import setup, find_packages


needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest_runner'] if needs_pytest else []
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []

with open('README.rst', 'r') as f:
    long_description = f.read()

setup(
    name="ufo_extractor",
    version="0.2.0.dev0",
    description="Tools for extracting data from font binaries into UFO objects.",
    long_description=long_description,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/typesupply/extractor",
    license="MIT",
{'fraction_non_alphanumeric': 0.14577656675749318, 'fraction_numerical': 0.005449591280653951, 'mean_word_length': 4.829365079365079, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7329826', 'n_tokens_mistral': 497, 'n_tokens_neox': 488, 'n_words': 113}