Skip to content

Commit

Permalink
Update meta
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Apr 26, 2021
1 parent 1670cba commit 441e345
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ values = [0-9A-Za-z-]+
search = version = {current_version}
replace = version = {new_version}

[bumpversion:file:hbp_knowledge/__init__.py]
[bumpversion:file:conib/__init__.py]
search = VERSION = '{current_version}'
replace = VERSION = '{new_version}'

2 changes: 1 addition & 1 deletion conib/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""A command line interface for interacting with the Human Brain Pharmacome knowledge repository."""

from hbp_knowledge import main
from conib import main

if __name__ == '__main__':
main()
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ whitelist_externals =
/usr/local/bin/git

[testenv:compile]
commands = conib compile --reload
commands = python -m conib compile --reload
usedevelop = true
deps = psycopg2-binary

[testenv:html]
commands = conib html docs/index.html
commands = python -m conib html docs/index.html
usedevelop = true
deps = pybel-tools
deps =
jinja2
pybel-tools

####################
# Deployment tools #
Expand Down Expand Up @@ -41,6 +43,7 @@ commands =

[testenv:finish]
skip_install = true
passenv = HOME
deps =
bumpversion
{[testenv:compile]deps}
Expand All @@ -50,7 +53,10 @@ commands =
bumpversion release
{[testenv:compile]commands}
{[testenv:html]commands}
git commit --all -m "Rebuilt CONIB"
git push
{[testenv:release]commands}
bumpversion patch
git push
whitelist_externals =
/usr/bin/git

0 comments on commit 441e345

Please sign in to comment.