Skip to content

Commit db46980

Browse files
committed
Fix license entries in pyproject.toml due to pep 639
Also, fix minimal supported Python version in Readme
1 parent 3f9be38 commit db46980

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
[![image](https://github.com/python-ls/python-ls/workflows/Linux%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Linux+tests%22) [![image](https://github.com/python-ls/python-ls/workflows/Mac%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Mac+tests%22) [![image](https://github.com/python-ls/python-ls/workflows/Windows%20tests/badge.svg)](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Windows+tests%22) [![image](https://img.shields.io/github/license/python-ls/python-ls.svg)](https://github.com/python-ls/python-ls/blob/master/LICENSE)
44

5-
A Python 3.8+ implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol).
6-
(Note: versions <1.4 should still work with Python 3.6)
5+
A Python 3.9+ implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol).
76

87
## Installation
98

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ name = "python-lsp-server"
1010
authors = [{name = "Python Language Server Contributors"}]
1111
description = "Python Language Server for the Language Server Protocol"
1212
readme = "README.md"
13-
license = {text = "MIT"}
13+
license = "MIT"
14+
license-files = ["LICENSE"]
1415
requires-python = ">=3.9"
1516
dependencies = [
1617
"docstring-to-markdown",
@@ -170,7 +171,6 @@ docstring-code-format = false
170171
docstring-code-line-length = "dynamic"
171172

172173
[tool.setuptools]
173-
license-files = ["LICENSE"]
174174
include-package-data = false
175175

176176
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)