To get pre-release and in-development versions, use the -pre flag: python -m pip install -U afdko -pre Use the -U (or -upgrade) option to update the afdko (and itsĭependencies) to the newest stable release: python -m pip install -U afdko Local user installation afdko ( info): python -m pip install -user afdko Option 2 (not recommended unless there is a global conflict) Installing the afdko inside a virtual environment prevents conflictsīetween its dependencies and other modules installed globally. Install afdko: python -m pip install afdko MacOS & Linux source afdko_env/bin/activate InstallingĬreate a virtual environment: python -m venv afdko_env This process will only succeed if both the C and C++ development tools and libuuid are installed. Note for Linux users (and users of other platforms that are not macOS or Windows): When there is not a pre-built "wheel" for your platform pip will attempt to build the C and C++ portions of the package from source. That pip-managed packages land in the right place. The combination of using a venv + python -m pip install helps to ensure Wrong pip being called, and the package landing in the wrong location. Calling pip install directly can result in the Note for all users: we STRONGLY recommend the use of a Python virtualĪnd the use of python -m pip install to install all packages Installing and managing multiple Python versions on macOS. YouĬan find instructions for using Brew to install Python 3 on macOS here: Among other reasons, some versions of macOS ship with Python 2Īnd the latest version of the AFDKO is only available for Python 3. Note for macOS users: we recommend that you do not use the system Releases are available on the Python Package Regarding Python 3.11: while Python 3.11 itself is now relatively stable, we are waiting to let some known tool-chain problems resolve. More information can be found in docs/otfautohint_Notes.md Installation The Python port of psautohint was (re)integrated into the AFDKO repository as "otfautohint" Most of these dependencies are BSD or MIT license, withįor a more detailed description of what is included in the package.įor additional information, such as links to reference materials and related Requirements.txt file, which will automatically be installed if you installĪFDKO with pip. Please note that the AFDKO makes use of several dependencies, listed in the The command line programs that comprise the AFDKO. This repository contains the data files, Python scripts, and sources for The AFDKO is a set of tools for building OpenType font files from
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |