SF.net SVN: docutils:[9796 ] trunk/docutils
aa-turner--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9796
http://sourceforge.net/p/docutils/code/9796
Author: aa-turner
Date: 2024-07-31 09:17:26 +0000 (Wed, 31 Jul 2024)
Log Message:
-----------
Do not recommend using flit as a build frontend
Instead, use the simpler ``build`` tool.
Also update pyproject.toml metadata.
Modified Paths:
--------------
trunk/docutils/docs/dev/release.txt
trunk/docutils/pyproject.toml
Modified: trunk/docutils/docs/dev/release.txt
===================================================================
--- trunk/docutils/docs/dev/release.txt 2024-07-31 08:35:47 UTC (rev 9795)
+++ trunk/docutils/docs/dev/release.txt 2024-07-31 09:17:26 UTC (rev 9796)
@@ -63,11 +63,6 @@
* Generate wheel and source-distribution::
- python3 -m pip install flit
- python3 -m flit build
-
- or ::
-
python3 -m pip install build
python3 -m build .
@@ -128,7 +123,7 @@
* Update your source directory.
* Rebuild wheel and source-distribution ::
- python3 -m flit build
+ python3 -m build
* Now upload to pypi::
Modified: trunk/docutils/pyproject.toml
===================================================================
--- trunk/docutils/pyproject.toml 2024-07-31 08:35:47 UTC (rev 9795)
+++ trunk/docutils/pyproject.toml 2024-07-31 09:17:26 UTC (rev 9796)
@@ -1,6 +1,7 @@
# Project configuration file for the "docutils" package (see PEP 518)
-# Build with flit (https://flit.pypa.io/)
+# Use flit as a build backend (https://flit.pypa.io/)
+# Build with (https://build.pypa.io/)
[build-system]
requires = ["flit_core>=3.4,<4"]
build-backend = "flit_core.buildapi"
@@ -8,9 +9,7 @@
# Project metadata
# cf. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
-
name = "docutils"
-dynamic = ["version"]
description = "Docutils -- Python Documentation Utilities"
readme.text = """
Docutils is a modular system for processing documentation
@@ -18,11 +17,8 @@
input Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.""" # wrap at col 60
readme.content-type = "text/plain"
-
urls.Homepage = "https://docutils.sourceforge.io"
-
license.file = "COPYING.txt"
-
requires-python = ">=3.9"
# cf. https://pypi.org/trove-classifiers/
@@ -77,6 +73,7 @@
'Natural Language :: Swedish',
'Natural Language :: Ukrainian',
]
+dynamic = ["version"]
[[project.authors]]
name = "David Goodger"
@@ -103,7 +100,6 @@
# Sdist (*.tar.gz) generation
[tool.flit.sdist]
-# required as ``flit --use-vcs`` only works for git and hg (current default)
# TODO: include generated HTML ?
include = [
"*.txt",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.