-
Tom Prince authored
The version of versioneer has an issue that the tarball that is generated on github changes, when the branches and/or tags refering to a commit change. This causes issues for gridsync, which pins the hashes of those tarballs. In addition to that, versioneer doesn't provide a meaningful revision for untagged commits, when run from a github tarball. Given that we only ever consume a github tarball as a github archive (except in local development, where the version number is less important), this replaces versioneer with some hand-rolled code specialized to that use case.
Tom Prince authoredThe version of versioneer has an issue that the tarball that is generated on github changes, when the branches and/or tags refering to a commit change. This causes issues for gridsync, which pins the hashes of those tarballs. In addition to that, versioneer doesn't provide a meaningful revision for untagged commits, when run from a github tarball. Given that we only ever consume a github tarball as a github archive (except in local development, where the version number is less important), this replaces versioneer with some hand-rolled code specialized to that use case.
pyproject.toml 1.03 KiB
[build-system]
requires = ["setuptools", "wheel", "six"]
build-backend = "setuptools.build_meta"
[tool.towncrier]
package = "_zkapauthorizer"
package_dir = "src"
filename = "ChangeLog.rst"
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = false
[tool.black]
target-version = ['py27']
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/src/_zkapauthorizer/_version.py
'''
[tool.isort]
profile = "black"
skip = ["src/_zkapauthorizer/_version.py"]