virtualenv/pyproject.toml
2020-02-04 14:51:00 +00:00

27 lines
793 B
TOML

[build-system]
requires = [
"setuptools >= 41.0.0",
"wheel >= 0.30.0",
"setuptools_scm[toml]>=3.4",
]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
write_to = "src/virtualenv/version.py"
write_to_template = """
\"\"\" Version information \"\"\"
__version__ = "{version}"
"""
[tool.black]
line-length = 120
[tool.towncrier]
package = "virtualenv"
package_dir = "" # we purposfully do not set this as src, forcing import from site-package that has version.py
filename = "docs/changes.rst"
directory = "docs/changelog"
title_format = false
issue_format = "`#{issue} <https://github.com/pypa/virtualenv/issues/{issue}>`_"
template = "docs/changelog/template.jinja2"
# possible types, all default: feature, bugfix, doc, removal, misc