Skip to content

Commit

Permalink
fix: make version work for bumpversion
Browse files Browse the repository at this point in the history
* Let's use versioneer in future!
  • Loading branch information
Midnighter committed Feb 27, 2018
1 parent 5f76634 commit 1eeef36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ serialize =

[metadata]
name = memote
version = 0.5.1
url = https://github.com/opencobra/memote
download_url = https://pypi.python.org/pypi/memote/
author = Moritz E. Beber
Expand Down Expand Up @@ -63,6 +62,10 @@ replace = version = {new_version}
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:docs/conf.py]
search = "{current_version}"
replace = "{new_version}"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

# All other keys are defined in setup.cfg under [metadata] and [options].
setup(
version="0.6.0",
install_requires=requirements,
tests_require=test_requirements,
entry_points="""
Expand Down

0 comments on commit 1eeef36

Please sign in to comment.