Skip to content

Build `manylinux2014_x86_64` Python wheels for `pynini`, wrapping all its dependencies. This is a ServiceNow Research project that was started at Element AI.

License

Notifications You must be signed in to change notification settings

ServiceNow/build-pynini-wheels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServiceNow completed its acquisition of Element AI on January 8, 2021. All references to Element AI in the materials that are part of this project should refer to ServiceNow.

build-pynini-wheels

Build manylinux2014_x86_64 Python wheels for pynini, wrapping all its dependencies.

This project heavily relies on other open-source projects.

What is this?

As of the writing of these lines, the recommended installation method for Pynini was through Conda-Forge. The enclosed Dockerfile gives you another alternative: build your own Python Platform Wheels for pynini so that you may easily pip/poetry-install it in your favourite linux.

The process differs for macOS and Windows.

Usage

To build wheels and run Pynini's tests, run:

docker build --target=run-tests -t build-pynini-wheels .

To extract the resulting wheels from the Docker image, run:

docker run --rm -v `pwd`:/io build-pynini-wheels cp -r /wheelhouse /io

Notice that this may also give you Cython wheels.

To publish these wheels to a PyPI repository (either a local one or the official https://pypi.org/ ), you may be interested in twine (see https://twine.readthedocs.io/en/latest/ ).

Maintenance?

This repository aims to create its own obsolescence by providing the pynini maintainer with the means to create their own wheels. Updates may thus be "spotty" at best, and the repository will be retired once an official alternative is available.

About

Build `manylinux2014_x86_64` Python wheels for `pynini`, wrapping all its dependencies. This is a ServiceNow Research project that was started at Element AI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published