Skip to content

Commit

Permalink
Merge pull request #47 from dvklopfenstein/dvk
Browse files Browse the repository at this point in the history
v0.0.41 contains latest setup.py for local install make target
  • Loading branch information
dvklopfenstein authored Dec 6, 2022
2 parents 2092699 + f7b88bc commit b699481
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## Summary

* [**Unreleased**](#unreleased)
* [**Release 2022-11-26 v0.0.38**](#release-2022-11-28-v0040) Added pmidcite.scripts.icite; pip3, not pip from Python2
* [**Release 2022-12-06 v0.0.41**](#release-2022-12-06-v0041) setup.py updates for make target, install
* [**Release 2022-11-26 v0.0.40**](#release-2022-11-28-v0040) Added pmidcite.scripts.icite; pip3, not pip from Python2
* [**Release 2022-11-26 v0.0.38**](#release-2022-11-26-v0038) Added instructions, and console_script to run script, icite
* [**Release 2022-09-27 v0.0.37**](#release-2022-09-27-v0037) Remove unused package in setup.py
* [**Release 2022-07-03 v0.0.36**](#release-2022-07-03-v0036) Change citation count on GitHub repo card
Expand Down Expand Up @@ -41,7 +42,10 @@

### Unreleased

### release 2022-11-29 v0.0.40
### release 2022-12-06 v0.0.41
* CHANGED setup.py PACKAGES variable to run install make target

### release 2022-11-28 v0.0.40
* ADDED `icite` to new package module, pmidcite.scripts
* CHANGED `pip install .` to `pip3 install .` in makefile and README.md

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_long_description():
setup(
name=NAME,
## version=versioneer.get_version(),
version='0.0.40',
version='0.0.41',
author='DV Klopfenstein, PhD',
author_email='[email protected]',
## cmdclass=versioneer.get_cmdclass(),
Expand Down
2 changes: 1 addition & 1 deletion src/pmidcite/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version of pmidcite project"""

__version__ = '0.0.40'
__version__ = '0.0.41'
2 changes: 2 additions & 0 deletions src/pmidcite/pubmedqueryicite.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def get_index(argv, queries=None):
# If no argument was provided, run the last query in the list
if len(argv) == 1:
return [-1]
if argv[1] == 'all' and queries is not None:
return list(range(len(queries)))
if 'h' in argv[1] and queries:
for idx, item in enumerate(queries):
print('{I:3} {E}'.format(I=idx, E=item))
Expand Down

0 comments on commit b699481

Please sign in to comment.