diff --git a/.gitignore b/.gitignore index b79343a..1f755b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/sshuttle/version.py /tmp/ /.cache/ /.eggs/ diff --git a/requirements-tests.txt b/requirements-tests.txt index 0c31004..7aa2968 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -3,3 +3,4 @@ pytest==7.1.2 pytest-cov==3.0.0 flake8==5.0.4 pyflakes==2.5.0 +bump2version==1.0.1 diff --git a/setup.cfg b/setup.cfg index dbdf161..f4abe55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,18 +1,23 @@ +[bumpversion] +current_version = 1.1.0 + +[bumpversion:file:sshuttle/version.py] + [aliases] -test=pytest +test = pytest [bdist_wheel] universal = 1 [upload] -sign=true -identity=0x1784577F811F6EAC +sign = true +identity = 0x1784577F811F6EAC [flake8] -count=true -show-source=true -statistics=true -max-line-length=128 +count = true +show-source = true +statistics = true +max-line-length = 128 [tool:pytest] addopts = --cov=sshuttle --cov-branch --cov-report=term-missing diff --git a/sshuttle/version.py b/sshuttle/version.py new file mode 100644 index 0000000..d4f3c4c --- /dev/null +++ b/sshuttle/version.py @@ -0,0 +1 @@ +__version__ = version = '1.1.0'