This project has been archived by its maintainers, and is no longer receiving any updates.
LilyPond wheels
What's this?
GNU LilyPond is a text-based music typesetter.
Wheels are the standard binary distribution format for Python packages. This
repository contains a script that is being used to package LilyPond in wheel
format. The resulting wheels are uploaded on PyPI (see the
lilypond project page). The goal is to make
it easy to use LilyPond from Python code, installing LilyPond as if it were a
normal Python package — which allows to include it in your dependencies, pin it,
makes tools like tox able to install it, and generally makes all the tooling
around standard Python packages just work.
Usage
If you want to have the LilyPond wrapper package available in your Python environment, you can install it using
pip install lilypond
As always, consider installing packages in a virtual environment instead of globally.
You can of course use it in all the other normal ways a package on PyPI can be
used: pyproject.toml project.dependencies list, dependencies in tox.ini,
requirements.txt files, etc.
pip install lilypond does NOT make lilypond available as a command —
this is normal! This wrapper is specifically intended for using LilyPond from
Python code, not for installing LilyPond in general. In order to use the bundled
LilyPond, you should do:
import subprocess
import lilypond
subprocess.run([lilypond.executable(), "file.ly"])
That is, import the lilypond module, and use the executable() function to
get the full path to the bundled lilypond executable, as a pathlib.Path
object, then use the subprocess module to execute it.
Scripts shipped with LilyPond are also available; use the optional argument to
executable(), e.g., executable("convert-ly"), to access them.
Maintenance
When a new LilyPond release is out, run
hatch run build <version> 0
This leaves wheels of LilyPond <version> in build/. If they look good (use a
venv to check), upload them with
python -m twine upload build/*.whl
The 0 in the hatch command is the build number. In case something goes wrong
in published wheels, fixed wheels should be uploaded with a build number of 1
(then 2, etc.).
For type checking:
hatch run mypy:check
Metadata
Release files for lilypond 2.25.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lilypond-2.25.12-0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| lilypond-2.25.12-0-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| lilypond-2.25.12-0-py3-none-macosx_10_15_x86_64.whl | Python 3 | none | macOS 10.15+ x86-64 | Details |
Total release size: 128.1 MB
Release files / lilypond-2.25.12-0-py3-none-win_amd64.whl
| Download URL | lilypond-2.25.12-0-py3-none-win_amd64.whl |
|---|---|
| Size | 41.3 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
14711d62f22ddb9d5caf048deffdffced8f4d9d10cad96c3e3b68328bdbcee6c
|
|
BLAKE2b-256 checksum How to use checksums |
1a3d6efca969f698ce3e52428d62ff2a1587312eb6cc9e9e4bd4bd688d54edff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.12.1
|
Release files / lilypond-2.25.12-0-py3-none-manylinux2014_x86_64.whl
| Download URL | lilypond-2.25.12-0-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 43.9 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
68b72d24d542b03212a44672a71314d31138d3117542cff59b28f46dd5000106
|
|
BLAKE2b-256 checksum How to use checksums |
ea7563d89e71ccc5d551ad77630944f7187fe9a861410c9ac63d4f71aca0030d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.12.1
|
Release files / lilypond-2.25.12-0-py3-none-macosx_10_15_x86_64.whl
| Download URL | lilypond-2.25.12-0-py3-none-macosx_10_15_x86_64.whl |
|---|---|
| Size | 42.9 MB |
| Tags | Python 3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
9096134302daf82b7dd20d08b08a3199b9a6ec353ede4fb71e90a5affd8d874c
|
|
BLAKE2b-256 checksum How to use checksums |
62b5ab967fead46591193d14cceb5babf28be02c8f5333f907e46269cd97e912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.12.1
|