From 8badc54a949e3f39bd1e1c537b8e5c4aa4cf84cb Mon Sep 17 00:00:00 2001 From: "Joshua D. Boyd" Date: Tue, 9 Jan 2024 02:06:31 -0500 Subject: [PATCH] Fix release directions and license include. --- README.rst | 6 ++++-- pyproject.toml | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 4fff0c6..d6fc5e1 100644 --- a/README.rst +++ b/README.rst @@ -27,9 +27,11 @@ Links: Making a release -------- +---------------- -1. `python ./setup.py sdist` +1. `python -m build` +1. `twine check dist/*` +1. `git tag v1.0.x` 1. `twine upload dist/*` diff --git a/pyproject.toml b/pyproject.toml index 2d6dc3f..ada73c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools"] build-backend = "setuptools.build_meta" [project] @@ -13,7 +13,6 @@ authors = [ description = "S-expression parser for Python" readme = "README.rst" requires-python = ">=3.7" -license = {text = "BSD-2-Clause"} classifiers = [ "Development Status :: 3 - Alpha", 'License :: OSI Approved :: BSD License', @@ -24,10 +23,12 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', "Programming Language :: Lisp", "Programming Language :: Emacs-Lisp", ] -dynamic = ["license", "keywords"] +dynamic = ["keywords"] +license = {file = "LICENSE"} [project.urls] "Homepage" = "https://github.com/jd-boyd/sexpdata"