Skip to content

build/dist: update pyproject.toml #598

@justinmk

Description

@justinmk

read https://packaging.python.org/en/latest/guides/modernize-setup-py-project/

update pyproject.toml , add missing sections like:

build-backend = "setuptools.build_meta"

[project]
name = "pynvim"
version = "0.6.0"
description = "Python client for Neovim"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
    { name = "Neovim Authors" }
]
requires-python = ">=3.7"
dependencies = [
    "msgpack>=1.0.0",
    "greenlet>=3.0; python_implementation != 'PyPy'",
    "typing-extensions>=4.5; python_version < '3.12'",
]

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "License :: OSI Approved :: Apache Software License",
    "Operating System :: OS Independent",
]

[project.optional-dependencies]
test = [
    "pytest",
    "pytest-timeout",
]
docs = [
    "sphinx",
    "sphinx-rtd-theme",
]

[project.scripts]
pynvim-python = "pynvim.python:main"

[project.urls]
Homepage = "https://github.com/neovim/pynvim"
Download = "https://github.com/neovim/pynvim/archive/0.6.0.tar.gz"
Documentation = "https://pynvim.readthedocs.io"

previous: #518

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions