Skip to content

Commit

Permalink
Update to single source versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jul 1, 2019
1 parent b36ad3b commit f62b141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ values =
[bumpverion:part:build]
values = [0-9A-Za-z-]+

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

[bumpversion:file:hbp_knowledge/__init__.py]
search = VERSION = '{current_version}'
replace = VERSION = '{new_version}'
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Configuring setup()
[metadata]
name = hbp_knowledge
version = 0.0.5-dev
version = attr: hbp_knowledge.__init__.VERSION
description = Knowledge curated in BEL from full text during the Human Brain Pharmacome project
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit f62b141

Please sign in to comment.