-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from dvklopfenstein/dvk
Move script modules into new pmidcite.script
- Loading branch information
Showing
5 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,13 @@ | |
'pmidcite.eutils.pubmed.counts', | ||
'pmidcite.icite', | ||
'pmidcite.icite.dnldr', | ||
'pmidcite.scripts', | ||
'pmidcite.plot', | ||
'src', | ||
'src.bin', | ||
] | ||
|
||
PACKAGE_DIRS = {p:join('src', *p.split('.')) for p in PACKAGES} | ||
|
||
|
||
def get_long_description(): | ||
"""Return the contents of the README.md as a string""" | ||
dir_cur = abspath(dirname(__file__)) | ||
|
@@ -42,7 +42,7 @@ def get_long_description(): | |
setup( | ||
name=NAME, | ||
## version=versioneer.get_version(), | ||
version='0.0.39', | ||
version='0.0.40', | ||
author='DV Klopfenstein, PhD', | ||
author_email='[email protected]', | ||
## cmdclass=versioneer.get_cmdclass(), | ||
|
@@ -54,7 +54,7 @@ def get_long_description(): | |
scripts=glob('src/bin/*.py'), | ||
entry_points={ | ||
'console_scripts':[ | ||
'icite=src.bin.icite:main', | ||
'icite=pmidcite.scripts.icite:main', | ||
], | ||
}, | ||
# https://pypi.org/classifiers/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Version of pmidcite project""" | ||
|
||
__version__ = '0.0.39' | ||
__version__ = '0.0.40' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Scripts""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
"""Given a PubMed ID (PMID), return a list of citing publications""" | ||
|
||
__copyright__ = "Copyright (C) 2019-present, DV Klopfenstein. All rights reserved." | ||
__author__ = "DV Klopfenstein" | ||
|
||
from pmidcite.cli.icite import NIHiCiteCli # get_argparser | ||
from pmidcite.cfg import get_cfgparser | ||
|
||
|
||
def main(): | ||
"""Print NIH citation data for requested papers specified with PubMedIDs (PMIDs)""" | ||
NIHiCiteCli(get_cfgparser(prt=None)).cli() | ||
|
||
|
||
# Copyright (C) 2019-present, DV Klopfenstein. All rights reserved. |