Skip to content

Commit 94ff84c

Browse files
committed
Fix py27 requirements
1 parent cdc5053 commit 94ff84c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/.*

Dockerfile.py27

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ENV PATH $JAVA_HOME/bin:$PATH
1111
ENV NAB /usr/local/src/nab
1212

1313
ADD . $NAB
14+
WORKDIR $NAB
15+
RUN python -m pip install -e .
1416

1517
# Run Numenta detectors
1618
RUN echo "Running numenta detectors in Python 2.7..."

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pandas==0.20.3
22
simplejson==3.11.1
33
boto3==1.9.134
4-
scikit-learn==0.21.1
4+
scikit-learn==0.21.1; python_version >= '3.5'
5+
scikit-learn==0.20.1; python_version < '3.5'

0 commit comments

Comments
 (0)