Skip to content

Commit 1a03526

Browse files
authored
Include Unicode license in locale-data and in documentation (#1074)
Fixes #1072
1 parent c0fb56e commit 1a03526

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include Makefile CHANGES.rst LICENSE AUTHORS
22
include conftest.py tox.ini
33
include babel/global.dat
44
include babel/locale-data/*.dat
5+
include babel/locale-data/LICENSE*
56
recursive-include docs *
67
recursive-exclude docs/_build *
78
include scripts/*

babel/locale-data/LICENSE.unicode

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
UNICODE LICENSE V3
2+
3+
COPYRIGHT AND PERMISSION NOTICE
4+
5+
Copyright © 2004-2024 Unicode, Inc.
6+
7+
NOTICE TO USER: Carefully read the following legal agreement. BY
8+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
9+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
10+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
11+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
12+
13+
Permission is hereby granted, free of charge, to any person obtaining a
14+
copy of data files and any associated documentation (the "Data Files") or
15+
software and any associated documentation (the "Software") to deal in the
16+
Data Files or Software without restriction, including without limitation
17+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
18+
copies of the Data Files or Software, and to permit persons to whom the
19+
Data Files or Software are furnished to do so, provided that either (a)
20+
this copyright and permission notice appear with all copies of the Data
21+
Files or Software, or (b) this copyright and permission notice appear in
22+
associated Documentation.
23+
24+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
27+
THIRD PARTY RIGHTS.
28+
29+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
30+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
31+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
34+
FILES OR SOFTWARE.
35+
36+
Except as contained in this notice, the name of a copyright holder shall
37+
not be used in advertising or otherwise to promote the sale, use or other
38+
dealings in these Data Files or Software without prior written
39+
authorization of the copyright holder.
40+
41+
SPDX-License-Identifier: Unicode-3.0

docs/license.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,24 @@ documentation.
2525
- "AUTHORS" hereby refers to all the authors listed in the
2626
:ref:`authors` section.
2727

28-
- The ":ref:`babel-license`" applies to all the sourcecode shipped as
28+
- The ":ref:`babel-license`" applies to all the source code shipped as
2929
part of Babel (Babel itself as well as the examples and the unit tests)
3030
as well as documentation.
3131

32+
- The ":ref:`unicode-license`" applies to the transformed Unicode
33+
Common Locale Data Repository (CLDR) data files shipped with Babel,
34+
in the directory ``babel/locale-data``.
35+
3236
.. _babel-license:
3337

3438
Babel License
3539
-------------
3640

3741
.. include:: ../LICENSE
42+
43+
.. _unicode-license:
44+
45+
Unicode License
46+
---------------
47+
48+
.. include:: ../babel/locale-data/LICENSE.unicode

0 commit comments

Comments
 (0)