From f71bbff8771d433d6794531e731b5056a33cb6ab Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 24 Apr 2018 09:26:14 -0400 Subject: [PATCH] Basic towncrier skeleton --- newsfragments/.gitignore | 0 pyproject.toml | 42 ++++++++++++++++++++++++++++++++++++++++ setup.py | 3 +++ 3 files changed, 45 insertions(+) create mode 100644 newsfragments/.gitignore create mode 100644 pyproject.toml diff --git a/newsfragments/.gitignore b/newsfragments/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..100722f56 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,42 @@ +[tool.towncrier] + package = "allmydata" + package_dir = "src" + filename = "NEWS.rst" + directory = "newsfragments" + start_string = ".. towncrier start line" + title_format = "{version} ({project_date})" + + [[tool.towncrier.type]] + directory = "incompat" + name = "Backwards incompatible changes" + showcontent = true + + [[tool.towncrier.type]] + directory = "feature" + name = "Features" + showcontent = true + + [[tool.towncrier.type]] + directory = "bugfix" + name = "Bug fixes" + showcontent = true + + [[tool.towncrier.type]] + directory = "installation" + name = "Dependency/Installation changes" + showcontent = true + + [[tool.towncrier.type]] + directory = "configuration" + name = "Configuration changes" + showcontent = true + + [[tool.towncrier.type]] + directory = "removed" + name = "Removed Features" + showcontent = true + + [[tool.towncrier.type]] + directory = "other" + name = "Other changes" + showcontent = true diff --git a/setup.py b/setup.py index a97f31dd4..8a4dcf45a 100644 --- a/setup.py +++ b/setup.py @@ -277,6 +277,9 @@ setup(name="tahoe-lafs", # also set in __init__.py "foolscap[i2p] >= 0.12.6", "txi2p >= 0.3.2", # in case pip's resolver doesn't work ], + "release": [ + "towncrier", + ], }, package_data={"allmydata.web": ["*.xhtml", "static/*.js", "static/*.png", "static/*.css",