Skip to content
Snippets Groups Projects
Commit a1ec41c7 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Fixes travis upload error and version check (#102)

parent 9227329f
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ after_success: ...@@ -55,7 +55,7 @@ after_success:
- conda install -q conda-build anaconda-client - conda install -q conda-build anaconda-client
- conda config --set anaconda_upload no - conda config --set anaconda_upload no
- conda build recipe -q - conda build recipe -q
- buildir=(`conda build recipe --output`) - builddir=(`conda build recipe --output`)
- anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force; - anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force;
# Docs to gh-pages # Docs to gh-pages
......
...@@ -9,10 +9,9 @@ try: ...@@ -9,10 +9,9 @@ try:
if not here.startswith(os.path.join(dist_loc, 'plio')): if not here.startswith(os.path.join(dist_loc, 'plio')):
# not installed, but there is another version that *is* # not installed, but there is another version that *is*
raise DistributionNotFound raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound: except DistributionNotFound:
__version__ = 'Please install this project with setup.py' __version__ = 'Please install this project with setup.py'
else:
__version__ = _dist.version
# Submodule imports # Submodule imports
from . import io from . import io
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment