Skip to content

Commit

Permalink
Switch to using bump2version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Dec 29, 2021
1 parent 1846467 commit c47ef9b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions requirements-dev.txt
@@ -1,4 +1,6 @@
black
build
bump2version
coverage
flake8
pre-commit
Expand Down
12 changes: 10 additions & 2 deletions setup.cfg
@@ -1,5 +1,13 @@
[bdist_wheel]
universal = 1
[bumpversion]
current_version = 3.3
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)
serialize = {major}.{minor}

[bumpversion:file:setup.py]

[bumpversion:file:tap/__init__.py]

[flake8]
max-line-length = 88
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -10,8 +10,6 @@

from setuptools import find_packages, setup

import tap

# The docs import setup.py for the version so only call setup when not behaving
# as a module.
if __name__ == "__main__":
Expand All @@ -22,7 +20,7 @@

setup(
name="tap.py",
version=tap.__version__,
version="3.0",
url="https://github.com/python-tap/tappy",
license="BSD",
author="Matt Layman",
Expand Down

0 comments on commit c47ef9b

Please sign in to comment.