From 6d998911ec47de18ec52b009260c2b08bcd90307 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Sat, 17 Jan 2026 08:17:53 -1000 Subject: [PATCH 1/4] Don't symlink license --- LICENSE | 1 - README.md | 34 ++++++++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 7 deletions(-) delete mode 120000 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 120000 index 10429f7ad7..0000000000 --- a/LICENSE +++ /dev/null @@ -1 +0,0 @@ -music21/license.txt \ No newline at end of file diff --git a/README.md b/README.md index 151d9ab80d..9a1cfed98f 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ Computational Musicology Copyright © 2006-2026 [Michael Scott Asato Cuthbert](http://www.trecento.com) +Released under the BSD (3-clause) license. See LICENSE and below. + For more information, visit: https://www.music21.org/music21docs/ @@ -17,12 +19,6 @@ https://www.music21.org/music21docs/usersGuide/usersGuide_01_installing.html `Music21` runs on Python 3.11+. (Use music21 version 4 on Python 2 or Py3.4, v5 on Py3.5, v6 on Py3.6, v7 on Py3.7, v8 on Py3.8/Py3.9, and v9 on Py3.10) -Released under the BSD (3-clause) license. See LICENSE. -Externally provided software (including the MIT-licensed Lilypond/MusicXML test Suite) and -music encoding in the corpus may have different licenses and/or copyrights. -A no-corpus version of `music21` is available also on GitHub for those needing strict -BSD-license of all parts of the system. - [![Build Status](https://github.com/cuthbertLab/music21/workflows/maincheck/badge.svg)](https://github.com/cuthbertLab/music21) [![Coverage Status](https://coveralls.io/repos/github/cuthbertLab/music21/badge.svg?branch=master)](https://coveralls.io/github/cuthbertLab/music21?branch=master) @@ -69,3 +65,29 @@ The early development of `music21` was supported by the generosity of the Seaver Institute and the National Endowment for the Humanities, along with MIT's Music and Theater Arts Section and the School of Humanities, Arts, and Social Sciences. + +## License Coverage and Other/Prior Licenses ## + +Music21 is Open-Source Software released under the BSD (3-clause) license. +Essentially, it's free and you can do with it what you'd like as long as you +keep the LICENSE file and copyright statement. + +The license applies to all code files that are new to music21 along with +documentation. Externally provided software (including the MIT-licensed +Lilypond/MusicXML test Suite) may have other licenses. The encoded +musical scores in the corpus have their own copyrights and licenses. They +underlying music is believed to be in the public domain in the US, EU, and +Canada (and most of the world) and the encodings are also either public domain +or used by permission. For those needing a strict BSD-license of all parts of +the music21 system, a no-corpus version of `music21` is available also on GitHub +for those needing strict BSD-license of all parts of the system. + +(For historical reasons, music21 before v2 can also be used under the LGPL license. +Between v1 and 2, all prior contributors were +contacted (it was a handful back then) and all agreed to relicense +their contributions under the BSD license). + +These detailed explanations of the license were moved to this README.md file in +2026 (v10) and out of LICENSE, music21/LICENSE and music21/license.txt in +order to make the music21 license more parsable by tooling. The move was not +meant to imply any change in the license or your rights or obligations under it. From 8d6cd168ac6fef40a3d0f9112ebbcc56b9323b70 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Sat, 17 Jan 2026 08:18:37 -1000 Subject: [PATCH 2/4] Non-symlinked version --- LICENSE | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..98ac8a77e0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,26 @@ +BSD License + +Copyright (c) 2006-2026 Michael Scott Asato Cuthbert +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the names music21, Michael Scott Asato Cuthbert, nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL Cuthbert BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From e64bae01f60e52dca1883034c2474c6b932e0f85 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Sat, 17 Jan 2026 08:18:49 -1000 Subject: [PATCH 3/4] Remove licenses from src directory. --- music21/LICENSE | 1 - music21/license.txt | 48 --------------------------------------------- 2 files changed, 49 deletions(-) delete mode 120000 music21/LICENSE delete mode 100644 music21/license.txt diff --git a/music21/LICENSE b/music21/LICENSE deleted file mode 120000 index cd301a44ab..0000000000 --- a/music21/LICENSE +++ /dev/null @@ -1 +0,0 @@ -license.txt \ No newline at end of file diff --git a/music21/license.txt b/music21/license.txt deleted file mode 100644 index fb0802f143..0000000000 --- a/music21/license.txt +++ /dev/null @@ -1,48 +0,0 @@ -#------------------------------------------------------------------------------- -# Name: license.txt -# Purpose: The following license applies to all Python files that are part -# of music21. -# This license does not apply to other content -# distributed with this package, particularly the corpus files -# which have their own copyrights and licenses. -# -# Copyright: music21 is "Copyright © 2006-2026 Michael Scott Asato Cuthbert" -# and is open-source licensed under the -# BSD 3-Clause License (beginning with music21 v2.0) -# reprinted below. -# -#------------------------------------------------------------------------------- - -Music21 (v2.0+) is distributed according to the terms of the -BSD license (BSD-3-Clause) described below. For historical reasons, music21 before v2 can -also be distributed and used under the LGPL license. Between v1 and 2, all -contributors were contacted and agreed to relicense their contributions under -the BSD license still under effect. - ---- -BSD License - -Copyright (c) 2006-2026 Michael Scott Asato Cuthbert -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the names music21, Michael Scott Asato Cuthbert, nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL Cuthbert BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From f0b351cfedca51a38f9c88f96d8e4c530afcbc31 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Sat, 17 Jan 2026 08:28:53 -1000 Subject: [PATCH 4/4] add apt-get update --- .github/scripts/install_ubuntu_deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/install_ubuntu_deps.sh b/.github/scripts/install_ubuntu_deps.sh index ea2035017f..b2a3047e57 100755 --- a/.github/scripts/install_ubuntu_deps.sh +++ b/.github/scripts/install_ubuntu_deps.sh @@ -4,6 +4,7 @@ set -e # error if anything returns non-zero exit code # needed for some tests that add Desktop mkdir ~/Desktop +sudo apt-get update sudo apt-get install -y libpng-dev # sudo apt-get install -y python3-pyqt5 wget -q https://lilypond.org/download/binaries/linux-64/lilypond-2.22.1-1.linux-64.sh