Skip to content

Commit

Permalink
Add optional_requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Mar 6, 2020
1 parent 23c9ad9 commit e2d63df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ matrix:
- "3.6"
install:
- pip install -r neuroscout/requirements.txt
- pip install -e git+https://github.com/tyarkoni/pliers.git#egg=pliers
- pip install -e git+https://github.com/rbroc/pliers.git@audioset#egg=pliers
- pip install pytest-cov
script:
- python -m pytest neuroscout/tests/ --cov=./
Expand Down
4 changes: 2 additions & 2 deletions neuroscout/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get install -yq ffmpeg tesseract-ocr
RUN pip install -e git+https://github.com/tyarkoni/pliers.git#egg=pliers
RUN pip install clarifai duecredit google-api-python-client IndicoIo librosa>=0.6.3 pysrt pytesseract spacy rev_ai
RUN python -m pliers.support.download
RUN python -m pliers.support.setup_yamnet
RUN apt-get install apt-transport-https

RUN wget -O- http://neuro.debian.net/lists/stretch.us-nh.full | tee /etc/apt/sources.list.d/neurodebian.sources.list
Expand All @@ -26,14 +27,13 @@ RUN npm install -g yarn

COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r optional_requirements.txt

COPY . /usr/src/app

RUN git config --global user.name "Neuroscout"
RUN git config --global user.email "delavega@utexas.edu"

RUN python -m pliers.support.setup_yamnet

RUN crontab /usr/src/app/update.txt
RUN service cron start

Expand Down
1 change: 0 additions & 1 deletion neuroscout/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ scipy
sentry-sdk[flask]==0.13
SQLAlchemy==1.3.0
tqdm==4.11.2
tensorflow>2.0
transformers==2.4.1
torch==1.4.0
webargs>=5.1.3
Expand Down

0 comments on commit e2d63df

Please sign in to comment.