forked from notofonts/nototools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·67 lines (64 loc) · 2.24 KB
/
setup.py
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
61
62
63
64
65
66
67
#!/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.2.0',
description='Noto font tools',
license="Apache",
long_description=readme,
author='Noto Authors',
author_email='[email protected]',
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',
'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',
]
})