Skip to content

Commit

Permalink
Include Unicode license in locale-data and in documentation (#1074)
Browse files Browse the repository at this point in the history
Fixes #1072
  • Loading branch information
akx committed Apr 22, 2024
1 parent c0fb56e commit 1a03526
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Expand Up @@ -2,6 +2,7 @@ include Makefile CHANGES.rst LICENSE AUTHORS
include conftest.py tox.ini
include babel/global.dat
include babel/locale-data/*.dat
include babel/locale-data/LICENSE*
recursive-include docs *
recursive-exclude docs/_build *
include scripts/*
Expand Down
41 changes: 41 additions & 0 deletions babel/locale-data/LICENSE.unicode
@@ -0,0 +1,41 @@
UNICODE LICENSE V3

COPYRIGHT AND PERMISSION NOTICE

Copyright © 2004-2024 Unicode, Inc.

NOTICE TO USER: Carefully read the following legal agreement. BY
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.

Permission is hereby granted, free of charge, to any person obtaining a
copy of data files and any associated documentation (the "Data Files") or
software and any associated documentation (the "Software") to deal in the
Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell
copies of the Data Files or Software, and to permit persons to whom the
Data Files or Software are furnished to do so, provided that either (a)
this copyright and permission notice appear with all copies of the Data
Files or Software, or (b) this copyright and permission notice appear in
associated Documentation.

THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
THIRD PARTY RIGHTS.

IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
FILES OR SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in these Data Files or Software without prior written
authorization of the copyright holder.

SPDX-License-Identifier: Unicode-3.0
13 changes: 12 additions & 1 deletion docs/license.rst
Expand Up @@ -25,13 +25,24 @@ documentation.
- "AUTHORS" hereby refers to all the authors listed in the
:ref:`authors` section.

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

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

.. _babel-license:

Babel License
-------------

.. include:: ../LICENSE

.. _unicode-license:

Unicode License
---------------

.. include:: ../babel/locale-data/LICENSE.unicode

0 comments on commit 1a03526

Please sign in to comment.