Skip to content

Commit 3d2cd61

Browse files
authored
Add license_files to pyproject.toml (#1247)
1 parent 88eb8ca commit 3d2cd61

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

LICENSE renamed to LICENSE.txt

File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<tr>
3232
<td>License</td>
3333
<td>
34-
<a href="https://github.com/zarr-developers/zarr-python/blob/main/LICENSE">
34+
<a href="https://github.com/zarr-developers/zarr-python/blob/main/LICENSE.txt">
3535
<img src="https://img.shields.io/pypi/l/zarr.svg" alt="license" />
3636
</a>
3737
</td>

docs/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
License
22
=======
33

4-
.. include:: ../LICENSE
4+
.. include:: ../LICENSE.txt

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
'Programming Language :: Python :: 3.9',
3535
'Programming Language :: Python :: 3.10',
3636
]
37+
license = { text = "MIT" }
3738

3839
[project.optional-dependencies]
3940
jupyter = [
@@ -52,6 +53,7 @@ Homepage = "https://github.com/zarr-developers/zarr-python"
5253

5354
[tool.setuptools]
5455
packages = ["zarr", "zarr._storage", "zarr.tests"]
56+
license-files = ["LICENSE.txt"]
5557

5658
[tool.setuptools_scm]
5759
version_scheme = "guess-next-dev"

0 commit comments

Comments
 (0)