Skip to content

Commit

Permalink
Move license to pyproject.toml.
Browse files Browse the repository at this point in the history
pip was complaining when install from cloned repo.
  • Loading branch information
cindytsai committed Nov 26, 2023
1 parent 117bd88 commit 2ac48aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors = [
]
description = "A yt frontend for libyt"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.7"
dependencies = ["yt"]
keywords = ["yt_libyt"]
Expand All @@ -20,6 +21,9 @@ classifiers = [
"Programming Language :: Python :: 3"
]

[tool.setuptools]
license-files = ["LICENSE"]

[tool.setuptools.dynamic]
version = {attr = "yt_libyt._version.__version__"}

Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[metadata]
long_description = file: README.md
long_description_content_type = text/markdown
license = BSD
license_files = LICENSE

[options]
include_package_data = True
Expand Down

0 comments on commit 2ac48aa

Please sign in to comment.