forked from fonttools/fontbakery
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
92 lines (90 loc) · 3.17 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright 2017 The Font Bakery Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# See AUTHORS.txt for the list of Authors and LICENSE.txt for the License.
import os
from setuptools import setup
try:
readme = open('README.md').read()
except IOError:
readme = ''
setup(
name="fontbakery",
use_scm_version={"write_to": "Lib/fontbakery/_version.py"},
url='https://github.com/googlefonts/fontbakery/',
description='Well designed Font QA tool, written in Python 3',
long_description=readme,
long_description_content_type='text/markdown',
author=('Font Bakery authors and contributors:'
' Dave Crossland,'
' Felipe Sanches,'
' Lasse Fister,'
' Marc Foley,'
' Nikolaus Waxweiler,'
' Chris Simpkins,'
' Jens Kutilek,'
' Vitaly Volkov'),
author_email='[email protected]',
package_dir={'': 'Lib'},
packages=['fontbakery',
'fontbakery.reporters',
'fontbakery.profiles',
'fontbakery.commands',
'fontbakery.sphinx_extensions'
],
package_data={'fontbakery': ['data/*.cache',
'data/*.textproto']},
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
],
python_requires='>=3.6',
setup_requires=['setuptools_scm'],
install_requires=[
'beautifulsoup4',
'defcon',
'font-v',
'fontTools[ufo,lxml,unicode]>=3.34', # 3.34 fixed some CFF2 issues, including calcBounds
'lxml',
'opentype-sanitizer>=7.1.9', # 7.1.9 fixes caret value format = 3 bug
# (see https://github.com/khaledhosny/ots/pull/182)
'pip-api',
'protobuf>=3.7.0', # 3.7.0 fixed a bug on parsing some METADATA.pb files
# (see https://github.com/googlefonts/fontbakery/issues/2200)
'requests',
'ttfautohint-py',
'ufolint',
'unidecode',
'beziers'
],
extras_require={
'docs': [
'sphinx >= 1.4',
'sphinx_rtd_theme',
'recommonmark',
],
},
entry_points={
'console_scripts': ['fontbakery=fontbakery.cli:main'],
},
# TODO: review this and make it cross-platform:
# data_files=[
# ('/etc/bash_completion.d', ['snippets/fontbakery.bash-completion']),
# ]
)