Skip to content

Commit

Permalink
allow env variable TRANSVAR_DOWNLOAD_DIR uptake for storage of downlo…
Browse files Browse the repository at this point in the history
…ad data
  • Loading branch information
zwdzwd committed Apr 7, 2016
1 parent 02c04d0 commit 55506f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include external *.c *.h Makefile *.mk configure
recursive-include external *.c *.h Makefile *.mk configure config.mk.in
4 changes: 3 additions & 1 deletion transvar/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ def gunzip(fn):


cfg_fns = [os.path.join(os.path.dirname(__file__), 'transvar.cfg'),
os.path.expanduser(os.getenv('TRANSVAR_CFG', '~/.transvar.cfg'))]
os.path.expanduser(os.getenv('TRANSVAR_CFG')),
os.path.expanduser('~/.transvar.cfg')]

downloaddirs = [os.path.join(os.path.dirname(__file__), 'transvar.download'),
os.path.expanduser(os.getenv('TRANSVAR_DOWNLOAD_DIR')),
os.path.expanduser('~/.transvar.download')]

# dwroot = 'https://dl.dropboxusercontent.com/u/6647241/annotations/'
Expand Down
2 changes: 1 addition & 1 deletion transvar/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.27.20160407'
__version__ = '2.1.29.20160407'

0 comments on commit 55506f6

Please sign in to comment.