diff --git a/pyproject.toml b/pyproject.toml index 7f96b68..b825c59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] @@ -20,6 +21,9 @@ classifiers = [ "Programming Language :: Python :: 3" ] +[tool.setuptools] +license-files = ["LICENSE"] + [tool.setuptools.dynamic] version = {attr = "yt_libyt._version.__version__"} diff --git a/setup.cfg b/setup.cfg index 881912c..31fa771 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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