<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

#with open("README.rst", 'r') as readme_file:
#    readme = readme_file.read()
readme = """Noto font tools are a set of scripts useful for release
engineering of Noto and similar fonts"""

setup(name='nototools',
      version='0.0.1',
      description='Noto font tools',
      license="Apache",
      long_description=readme,
      author='Noto Authors',
      author_email='<EMAIL>',
      url='https://code.google.com/p/noto/',
      # more examples here http://docs.python.org/distutils/examples.html#pure-python-distribution-by-package
      packages=find_packages() + ['third_party'],
      include_package_data=True,
      install_requires=[
          'fontTools',
          # On Mac OS X these need to be installed with homebrew
          # 'cairo',
          # 'pango',
          # 'pygtk',
          # 'imagemagick'
      ],
      package_data={
          'nototools': [
              '*.sh',
              'data/*',
          ]
      },
      # $ grep "def main(" nototools/* | cut -d: -f1
      scripts=['nototools/autofix_for_release.py',
               'nototools/add_vs_cmap.py',
               'nototools/create_image.py',
               'nototools/decompose_ttc.py',
               'nototools/drop_hints.py',
               'nototools/dump_otl.py',
               'nototools/fix_khmer_and_lao_coverage.py',
               'nototools/fix_noto_cjk_thin.py',
               'nototools/generate_sample_text.py',<commit_msg>setup.py: add 'shapediff' optional requirements<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

#with open("README.rst", 'r') as readme_file:
#    readme = readme_file.read()
readme = """Noto font tools are a set of scripts useful for release
engineering of Noto and similar fonts"""

setup(name='nototools',
      version='0.0.1',
      description='Noto font tools',
      license="Apache",
      long_description=readme,
      author='<NAME>',
      author_email='<EMAIL>',
      url='https://code.google.com/p/noto/',
      # more examples here http://docs.python.org/distutils/examples.html#pure-python-distribution-by-package
      packages=find_packages() + ['third_party'],
      include_package_data=True,
      install_requires=[
          'fontTools',
          # On Mac OS X these need to be installed with homebrew
          # 'cairo',
          # 'pango',
          # 'pygtk',
          # 'imagemagick'
      ],
      extras_require={
          # optional requirements for nototools.shape_diff module
          'shapediff': [
              'booleanOperations',
              'defcon',
              'Pillow',
          ],
      },
      package_data={
          'nototools': [
              '*.sh',
              'data/*',
          ]
      },
      # $ grep "def main(" nototools/* | cut -d: -f1
      scripts=['nototools/autofix_for_release.py',
               'nototools/add_vs_cmap.py',
               'nototools/create_image.py',
               'nototools/decompose_ttc.py',
               'nototools/drop_hints.py',
               'nototools/dump_otl.py',
               'nototools/fix_khmer_and_lao_coverage.py',
               'nototools/fix_noto_cjk_thin.py',
               'nototools/generate_sample_text.py',
{'fraction_non_alphanumeric': 0.1328335832083958, 'fraction_numerical': 0.0029985007496251873, 'mean_word_length': 2.0718232044198897, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3119194', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1053, 'n_words': 190}