Skip to content

Commit

Permalink
start to fix build, add precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
rsheeter committed May 30, 2020
1 parent e0a39ba commit 469e3c8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ packages
build
dist
nototools.egg-info/
venv/
6 changes: 6 additions & 0 deletions precommit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set -e

black nototools tests
(cd tests && ./run_tests)

echo "Seems OK :)"
31 changes: 28 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
booleanOperations==0.8.2
afdko==3.4.0
appdirs==1.4.4
attrs==19.3.0
black==19.10b0
booleanOperations==0.9.0
Brotli==1.0.7
click==7.1.2
cu2qu==1.6.7
defcon==0.6.0
fonttools==4.0.2; python_version >= '3.6'
Pillow>=6.2.2
fontMath==0.6.0
fontParts==0.9.2
fontPens==0.2.4
fonttools==4.11.0
fs==2.4.11
lxml==4.5.1
MutatorMath==3.0.1
-e [email protected]:googlefonts/nototools.git@e0a39bad11ca47f924b432bb05c3cccd87e68571#egg=nototools
pathspec==0.8.0
Pillow==7.1.2
psautohint==2.0.1
pyclipper==1.1.0.post1
pytz==2020.1
regex==2020.5.14
scour==0.37
six==1.15.0
toml==0.10.1
typed-ast==1.4.1
ufonormalizer==0.4.1
ufoProcessor==1.9.0
unicodedata2==13.0.0.post2
zopfli==0.1.7
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
engineering of Noto and similar fonts"""

setup(name='nototools',
version='0.2.0',
use_scm_version={"write_to": "src/nanoemoji/_version.py"},
description='Noto font tools',
license="Apache",
long_description=readme,
python_requires=">=3.7",
author='Noto Authors',
author_email='[email protected]',
url='https://code.google.com/p/noto/',
url='https://github.com/googlefonts/nototools',
# more examples here http://docs.python.org/distutils/examples.html#pure-python-distribution-by-package
packages=find_packages() + ['third_party'],
include_package_data=True,
Expand Down

0 comments on commit 469e3c8

Please sign in to comment.