setup.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import setup
  4. #with open("README.rst", 'r') as readme_file:
  5. # readme = readme_file.read()
  6. readme = """Noto font tools are a set of scripts useful for release
  7. engineering of Noto and similar fonts"""
  8. setup(name='nototools',
  9. version='0.0.1',
  10. description='Noto font tools',
  11. license="Apache",
  12. long_description=readme,
  13. author='Noto Authors',
  14. author_email='noto-font@googlegroups.com',
  15. url='https://code.google.com/p/noto/',
  16. # more examples here http://docs.python.org/distutils/examples.html#pure-python-distribution-by-package
  17. packages=['nototools'],
  18. install_requires=[
  19. 'fontTools',
  20. # On Mac OS X these need to be installed with homebrew
  21. # 'cairo',
  22. # 'pango',
  23. # 'pygtk'
  24. ],
  25. dependency_links=['https://github.com/behdad/fontTools/tarball/master#egg=fontTools-2.5'],
  26. package_data={
  27. 'nototools': [
  28. 'nototools/*.sh',
  29. ]
  30. },
  31. # $ grep "def main(" nototools/* | cut -d: -f1
  32. scripts=['nototools/add_emoji_gsub.py',
  33. 'nototools/autofix_for_release.py',
  34. 'nototools/coverage.py',
  35. 'nototools/create_image.py',
  36. 'nototools/decompose_ttc.py',
  37. 'nototools/drop_hints.py',
  38. 'nototools/dump_otl.py',
  39. 'nototools/fix_khmer_and_lao_coverage.py',
  40. 'nototools/fix_noto_cjk_thin.py',
  41. 'nototools/generate_sample_text.py',
  42. 'nototools/generate_website_data.py',
  43. 'nototools/map_pua_emoji.py',
  44. 'nototools/merge_noto.py',
  45. 'nototools/noto_lint.py',
  46. 'nototools/scale.py',
  47. 'nototools/subset.py',
  48. 'nototools/subset_symbols.py',
  49. 'nototools/test_vertical_extents.py'])