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
sudo: false
python:
- "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
- sudo xargs -a apt-packages.txt apt-get install --fix-missing
install:
- pip install -r base-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 -e git+https://github.com/edx/nltk.git@2.0.6#egg=nltk
- travis_retry ./download-nltk-corpus.sh
......
......@@ -10,4 +10,5 @@ libatlas-base-dev
libxml2-dev
libxslt1-dev
aspell
python
\ No newline at end of file
aspell-en
python
......@@ -3,6 +3,6 @@
coverage==3.5.3
django-sphinx-autodoc
mock==0.8.0
nose==1.2.1
nose==1.3.7
pylint==0.26.0
sphinx
#!/usr/bin/env bash
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,
# 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):
line.startswith('git+')
)
def load_requirements(*requirements_paths):
"""
Load all requirements from the specified requirements files.
......@@ -33,19 +34,19 @@ def load_requirements(*requirements_paths):
setup(
name = "ease",
version = "0.1.3",
name="ease",
version="0.1.4",
packages=['ease'],
package_data = {
package_data={
'': ['*.txt', '*.rst', '*.p', '*.zip'],
},
author = "Vik Paruchuri",
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.",
license = "AGPL",
keywords = "ml machine learning nlp essay education",
url = "https://github.com/edx/ease",
include_package_data = True,
},
author="Vik Paruchuri",
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.",
license="AGPL",
keywords="ml machine learning nlp essay education",
url="https://github.com/edx/ease",
include_package_data=True,
install_requires=load_requirements(
"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