Skip to content

Commit

Permalink
[setup.py] use bump2version, up-to-date fork of bumpversion
Browse files Browse the repository at this point in the history
The latter is no longer maintained.

https://github.com/c4urself/bump2version
  • Loading branch information
anthrotype committed Oct 3, 2017
1 parent 5224662 commit 974bb8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest>=3.0
tox>=2.5
bumpversion>=0.5.3
sphinx>=1.5.5
bump2version>=0.5.6
sphinx>=1.5.5
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def doraise_py_compile(file, cfile=None, dfile=None, doraise=False):
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
needs_bumpversion = {'release'}.intersection(sys.argv)
bumpversion = ['bumpversion'] if needs_bumpversion else []
bumpversion = ['bump2version'] if needs_bumpversion else []

# Trove classifiers for PyPI
classifiers = {"classifiers": [
Expand Down Expand Up @@ -104,7 +104,7 @@ class release(Command):
Links:
- http://semver.org/
- https://www.python.org/dev/peps/pep-0440/
- https://github.com/peritus/bumpversion
- https://github.com/c4urself/bump2version
"""

description = "update version strings for release"
Expand Down

0 comments on commit 974bb8a

Please sign in to comment.