1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
#!/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='noto-font@googlegroups.com',
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'
],
dependency_links=['https://github.com/behdad/fontTools/tarball/master#egg=fontTools-3.0'],
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',
'nototools/generate_website_2_data.py',
'nototools/merge_noto.py',
'nototools/merge_fonts.py',
'nototools/noto_lint.py',
'nototools/scale.py',
'nototools/subset.py',
'nototools/subset_symbols.py',
'nototools/test_vertical_extents.py'],
entry_points={
'console_scripts': [
'notodiff = nototools.notodiff:main',
'notocoverage = nototools.coverage:main',
]
})
|