summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-07-03 15:24:42 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2019-07-24 10:55:32 -0700
commitf6cf3c7a749640df9b3f26bfd4723bea9248101b (patch)
tree16e419e26c0a16bd0e3f017916dd33977cb3a050 /pyproject.toml
parentf2d116aaabce9df3bef4dca51ce0643a9ec43527 (diff)
downloadnumpy-f6cf3c7a749640df9b3f26bfd4723bea9248101b.tar.gz
ENH: use towncrier to build the release note
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml56
1 files changed, 56 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0e4f8aeb1..5c90ed3f8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,3 +2,59 @@
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel", "cython"] # PEP 508 specification
+
+[tool.towncrier]
+ # Do no set this since it is hard to import numpy inside the source directory
+ # Use "--version Numpy" instead
+ #project = "numpy"
+ filename = "doc/release/latest-note.rst"
+ directory = "changelog/"
+ issue_format = "`#{issue} <https://github.com/numpy/numpy/pull/{issue}>`__"
+ template = "changelog/template.rst"
+ underlines="~="
+
+ [[tool.towncrier.type]]
+ directory = "new_function"
+ name = "New functions"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "deprecation"
+ name = "Deprecations"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "future"
+ name = "Future Changes"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "expired"
+ name = "Expired deprecations"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "coompatibility"
+ name = "Compatibility notes"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "c_api"
+ name = "C API changes"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "new_features"
+ name = "New Features"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "improvements"
+ name = "Improvements"
+ showcontent = true
+
+ [[tool.towncrier.type]]
+ directory = "changes"
+ name = "Changes"
+ showcontent = true
+