Travis dependencies

This commit is contained in:
Kepoor Hampond 2017-06-10 12:31:15 -07:00
parent 4243b1e41d
commit af9331efd3
3 changed files with 13 additions and 2 deletions

View file

@ -5,6 +5,7 @@ python:
- "3.6"
install:
- pip install -r requirements.txt
- python setup.py install
script:

7
requirements.txt Normal file
View file

@ -0,0 +1,7 @@
--index-url https://pypi.python.org/simple/
bs4
mutagen
requests
spotipy
ydl-binaries

View file

@ -16,6 +16,9 @@ class PostInstallCommand(install):
def run(self):
install.run(self) # Actually install the module and dependencies
try:
import ydl_binaries
except ImportError:
import pip
pip.main(['install', "ydl-binaries"])