Skip to content

Commit

Permalink
Ensure that pip is up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVinyard committed Aug 30, 2018
1 parent 9741550 commit 1194fe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ install:
- conda create -q -n test-environment -c pytorch -c hcc -c conda-forge python=$TRAVIS_PYTHON_VERSION numpy=1.12 scipy=0.19 cython pytorch=0.4 torchvision libsndfile=1.0.28 libsamplerate=0.1.8 libflac=1.3.1 libogg=1.3.2
- sudo ldconfig /opt/conda/lib
- source activate test-environment
- pip install --upgrade pip
- python setup.py install
- pip install coveralls
- ls /usr/lib/x86_64-linux-gnu/libsndfile.*
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
from setuptools import setup
import re
import os
import warnings

try:
import pypandoc

long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
except(IOError, ImportError, RuntimeError):
long_description = open('README.md').read()
warnings.warn('pypandoc is not working correctly')


with open('zounds/__init__.py', 'r') as fd:
version = re.search(
Expand Down

0 comments on commit 1194fe3

Please sign in to comment.