Commit 503986a6 by Muzaffar Yousaf

Upgrade numpy to it's latest version

parent f8c109ff
addons:
apt:
packages:
- aspell
- aspell-en
- python-pip
- gcc
- g++
- gfortran
- libblas3gf
- libblas-dev
- liblapack3gf
- liblapack-dev
- libatlas-base-dev
- libxml2-dev
- libxslt1-dev
- python
- python-matplotlib
- python-numpy
- python-scipy
- python-sklearn
language: python language: python
sudo: false
python: python:
- "2.7" - "2.7"
virtualenv: virtualenv:
system_site_packages: true system_site_packages: true
before_install:
- sudo apt-get update
- sudo xargs -a apt-packages.txt apt-get install --fix-missing
install: install:
- pip install -r base-requirements.txt - pip install -r base-requirements.txt
- pip install -r dev-requirements.txt - pip install -r dev-requirements.txt
- sudo apt-get install python-matplotlib python-numpy python-scipy python-sklearn
- pip install scikit-learn==0.12.1 - pip install scikit-learn==0.12.1
- pip install -e git+https://github.com/edx/nltk.git@2.0.6#egg=nltk - pip install -e git+https://github.com/edx/nltk.git@2.0.6#egg=nltk
- travis_retry ./download-nltk-corpus.sh - travis_retry ./download-nltk-corpus.sh
......
...@@ -10,4 +10,5 @@ libatlas-base-dev ...@@ -10,4 +10,5 @@ libatlas-base-dev
libxml2-dev libxml2-dev
libxslt1-dev libxslt1-dev
aspell aspell
python aspell-en
\ No newline at end of file python
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
coverage==3.5.3 coverage==3.5.3
django-sphinx-autodoc django-sphinx-autodoc
mock==0.8.0 mock==0.8.0
nose==1.2.1 nose==1.3.7
pylint==0.26.0 pylint==0.26.0
sphinx sphinx
#!/usr/bin/env bash #!/usr/bin/env bash
PYTHON=`which python` PYTHON=`which python`
sudo $PYTHON -m nltk.downloader stopwords maxent_treebank_pos_tagger wordnet -d /usr/local/share/nltk_data $PYTHON -m nltk.downloader stopwords maxent_treebank_pos_tagger wordnet -d /home/travis/nltk_data
# Numpy needs to be installed separately from Scipy, # Numpy needs to be installed separately from Scipy,
# so we can't include them in the same requirements file. # so we can't include them in the same requirements file.
numpy==1.6.2 numpy==1.11.0
...@@ -18,6 +18,7 @@ def is_requirement(line): ...@@ -18,6 +18,7 @@ def is_requirement(line):
line.startswith('git+') line.startswith('git+')
) )
def load_requirements(*requirements_paths): def load_requirements(*requirements_paths):
""" """
Load all requirements from the specified requirements files. Load all requirements from the specified requirements files.
...@@ -33,19 +34,19 @@ def load_requirements(*requirements_paths): ...@@ -33,19 +34,19 @@ def load_requirements(*requirements_paths):
setup( setup(
name = "ease", name="ease",
version = "0.1.3", version="0.1.4",
packages=['ease'], packages=['ease'],
package_data = { package_data={
'': ['*.txt', '*.rst', '*.p', '*.zip'], '': ['*.txt', '*.rst', '*.p', '*.zip'],
}, },
author = "Vik Paruchuri", author="Vik Paruchuri",
author_email = "vik@edx.org", author_email="vik@edx.org",
description = "Machine learning based automated text classification library. Useful for essay scoring and other tasks. Please see https://github.com/edx/discern for an API wrapper of this code.", description="Machine learning based automated text classification library. Useful for essay scoring and other tasks. Please see https://github.com/edx/discern for an API wrapper of this code.",
license = "AGPL", license="AGPL",
keywords = "ml machine learning nlp essay education", keywords="ml machine learning nlp essay education",
url = "https://github.com/edx/ease", url="https://github.com/edx/ease",
include_package_data = True, include_package_data=True,
install_requires=load_requirements( install_requires=load_requirements(
"pre-requirements.txt", "base-requirements.txt", "requirements.txt" "pre-requirements.txt", "base-requirements.txt", "requirements.txt"
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment