1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-psautohint
7 SDESC[v11]= Wrapper for Adobe's PostScript autohinter (3.11)
8 SDESC[v12]= Wrapper for Adobe's PostScript autohinter (3.12)
9 HOMEPAGE= https://github.com/adobe-type-tools/psautohint
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/p/psautohint
14 DISTFILE[1]= psautohint-2.4.0.tar.gz:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= psautohint-2.4.0
28 INSTALL_REQ_TOOLCHAIN= yes
30 [PY311].BUILDRUN_DEPENDS_ON= python-fonttools:single:v11
31 python-setuptools-scm:single:v11
32 [PY311].USES_ON= python:v11,sutools
34 [PY312].BUILDRUN_DEPENDS_ON= python-fonttools:single:v12
35 python-setuptools-scm:single:v12
36 [PY312].USES_ON= python:v12,sutools
38 [FILE:1726:descriptions/desc.single]
43 C/C++]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:cpp)
45 Python]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:python)
51 A standalone version of [AFDKO]’s
57 This repository currently consists of a core autohinter written in C, a
58 Python C extension providing an interface to it, and helper Python code.
60 To build the C extension:
64 To install the C extension and the helper scripts globally:
66 pip install -r requirements.txt .
68 Alternatively to install them for the current user:
70 pip install -r requirements.txt --user .
72 The autohinter can be used by running:
76 To build just the `autohintexe` binary:
78 python setup.py build_exe
83 We have a test suite that can be run with:
90 For standard debugging, build with:
92 python setup.py build --debug
94 It is also possible to build a debug version with [AddressSanitizer]
95 ("ASan") support (currently _for Mac OS X only_) with:
97 python setup.py build --asan
100 Once it is installed, you can use the `util/launch-asan.sh` shell script to
101 launch a Python process that invokes the ASan libraries needed for
102 debugging. Attach Xcode the launched process, then execute code in the
103 process that triggers memory usage problems and wait for ASan to do its
106 NOTE: be sure to build and install `psautohint` as described above; using
107 other techniques such as `python setup.py install` will cause a re-build
108 _without_ ASan and debug support, which won't work.
112 d50edea8f6121c3383f0d82f881bf7a18bdd476cc2d354737672ce193c3cff7f 185568 psautohint-2.4.0.tar.gz