|
From: <gr...@us...> - 2023-09-07 08:06:04
|
Revision: 9448
http://sourceforge.net/p/docutils/code/9448
Author: grubert
Date: 2023-09-07 08:05:56 +0000 (Thu, 07 Sep 2023)
Log Message:
-----------
Updated build stystem to use Flit (cf. patch #186 by Adam Turner).
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
Added Paths:
-----------
trunk/docutils/pyproject.toml
Removed Paths:
-------------
trunk/docutils/MANIFEST.in
trunk/docutils/setup.cfg
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2023-09-06 11:10:42 UTC (rev 9447)
+++ trunk/docutils/HISTORY.txt 2023-09-07 08:05:56 UTC (rev 9448)
@@ -19,6 +19,10 @@
* Drop support for Python 3.7 and 3.8.
+* Updated build stystem to use Flit_ (cf. patch #186 by Adam Turner).
+
+ .. _Flit: https://github.com/pypa/flit/
+
* docutils/io.py
- Simpler and more secure `input encoding`_ default behaviour:
Deleted: trunk/docutils/MANIFEST.in
===================================================================
--- trunk/docutils/MANIFEST.in 2023-09-06 11:10:42 UTC (rev 9447)
+++ trunk/docutils/MANIFEST.in 2023-09-07 08:05:56 UTC (rev 9448)
@@ -1,12 +0,0 @@
-include *.txt
-include tox.ini
-include docutils.conf
-recursive-include docutils *
-recursive-include docs *
-recursive-include licenses *
-recursive-include tools *
-recursive-include test *
-exclude test/alltests.out test/record.txt
-prune test/functional/output
-include test/functional/output/README.txt
-global-exclude *.pyc *~ __pycache__ .DS_Store
Added: trunk/docutils/pyproject.toml
===================================================================
--- trunk/docutils/pyproject.toml (rev 0)
+++ trunk/docutils/pyproject.toml 2023-09-07 08:05:56 UTC (rev 9448)
@@ -0,0 +1,154 @@
+# Project configuration file for the "docutils" package (see PEP 518)
+
+# Build with flit (https://flit.pypa.io/)
+[build-system]
+requires = ["flit_core>=3.4,<4"]
+build-backend = "flit_core.buildapi"
+
+# 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
+into useful formats, such as HTML, XML, and LaTeX. For
+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/
+classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Intended Audience :: End Users/Desktop',
+ 'Intended Audience :: Other Audience',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: System Administrators',
+ 'License :: Public Domain',
+ 'License :: OSI Approved :: Python Software Foundation License',
+ 'License :: OSI Approved :: BSD License',
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3 :: Only',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
+ 'Topic :: Documentation',
+ 'Topic :: Software Development :: Documentation',
+ 'Topic :: Text Processing',
+ 'Natural Language :: English', # main/default language, keep first
+ 'Natural Language :: Afrikaans',
+ 'Natural Language :: Arabic',
+ 'Natural Language :: Catalan',
+ 'Natural Language :: Chinese (Simplified)',
+ 'Natural Language :: Chinese (Traditional)',
+ 'Natural Language :: Czech',
+ 'Natural Language :: Danish',
+ 'Natural Language :: Dutch',
+ 'Natural Language :: Esperanto',
+ 'Natural Language :: Finnish',
+ 'Natural Language :: French',
+ 'Natural Language :: Galician',
+ # 'Natural Language :: Georgian', # currently not listed in trove-classifiers
+ 'Natural Language :: German',
+ 'Natural Language :: Hebrew',
+ 'Natural Language :: Italian',
+ 'Natural Language :: Japanese',
+ 'Natural Language :: Korean',
+ 'Natural Language :: Latvian',
+ 'Natural Language :: Lithuanian',
+ 'Natural Language :: Persian',
+ 'Natural Language :: Polish',
+ 'Natural Language :: Portuguese (Brazilian)',
+ 'Natural Language :: Russian',
+ 'Natural Language :: Slovak',
+ 'Natural Language :: Spanish',
+ 'Natural Language :: Swedish',
+ 'Natural Language :: Ukrainian',
+]
+
+[[project.authors]]
+name = "David Goodger"
+email = "go...@py..."
+
+[[project.maintainers]]
+name = "docutils-develop list"
+email = "doc...@li..."
+
+[project.scripts]
+docutils = "docutils.__main__:main"
+rst2html = "docutils.core:rst2html"
+rst2html4 = "docutils.core:rst2html4"
+rst2html5 = "docutils.core:rst2html5"
+rst2latex = "docutils.core:rst2latex"
+rst2man = "docutils.core:rst2man"
+rst2odt = "docutils.core:rst2odt"
+rst2pseudoxml = "docutils.core:rst2pseudoxml"
+rst2s5 = "docutils.core:rst2s5"
+rst2xetex = "docutils.core:rst2xetex"
+rst2xml = "docutils.core:rst2xml"
+
+
+# Sdist (*.tar.gz) generation
+[tool.flit.sdist]
+
+# not required with ``flit --use-vcs`` (current default)
+# TODO: include generated HTML ?
+# include = [
+ # "*.txt",
+ # "docutils/",
+ # "docs/",
+ # "licenses/",
+ # "test/",
+ # "tools/",
+# ]
+
+# TODO: Recursive globbing (**) is not supported yet (in exclude pattern '**/*~')
+exclude = [
+ "*~",
+ "*/*~",
+ "*.DS_Store",
+ "*/*.DS_Store",
+ "test/alltests.out",
+ "test/record.txt",
+ "test/functional/output",
+]
+
+# Codespell configuration (see https://pypi.org/project/codespell/)
+[tool.codespell]
+skip = [
+ "test",
+ "pep-*.txt",
+ "iso*.txt",
+]
+ignore-words-list = [
+ "ba",
+ "complies",
+ "ede",
+ "fo",
+ "hist",
+ "ist",
+ "ment",
+ "nd",
+ "ned",
+ "ninjs",
+ "ownward",
+ "ream",
+ "ro",
+ "shttp",
+ "ta",
+ "te",
+ "ue",
+ "wee",
+ "windos",
+]
Property changes on: trunk/docutils/pyproject.toml
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Deleted: trunk/docutils/setup.cfg
===================================================================
--- trunk/docutils/setup.cfg 2023-09-06 11:10:42 UTC (rev 9447)
+++ trunk/docutils/setup.cfg 2023-09-07 08:05:56 UTC (rev 9448)
@@ -1,3 +0,0 @@
-[codespell]
-skip = test,pep-*.txt,iso*.txt
-ignore-words-list = ba,complies,ede,fo,hist,ist,ment,nd,ned,ninjs,ownward,ream,ro,shttp,ta,te,ue,wee,windos
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|