Skip to content

Commit

Permalink
Add sparse matrix support for large data sets
Browse files Browse the repository at this point in the history
Closes #15
  • Loading branch information
esafak committed Jan 11, 2018
1 parent 9d9cfe7 commit f2b79ec
Show file tree
Hide file tree
Showing 16 changed files with 425 additions and 862 deletions.
45 changes: 22 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,39 @@
language: python

cache:
- apt
- pip
- apt
- pip

notifications:
email: false
email: false

python:
- 3.6
- 3.5
# - "2.7_with_system_site_packages"
- "3.2_with_system_site_packages"
- 2.7
# - "pypy"
- 3.6
- 3.5
- 2.7
# - "pypy"
# - "pypy3"

# virtualenv:
# system_site_packages: true
# system_site_packages: true

before_install:
- if [ $TRAVIS_PYTHON_VERSION == "3.2_with_system_site_packages" ]; then
wget -O- http://neuro.debian.net/lists/precise.us-ca.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list; sudo apt-key adv --recv-keys --keyserver pool.sks-keyservers.net 2649A5A9; echo | sudo add-apt-repository ppa:chris-lea/python-numpy; echo | sudo add-apt-repository ppa:pylab/stable; sudo apt-get update -q; sudo apt-get install -qq python3-numpy python3-scipy python3-pandas python3-pandas-lib;
else
sudo pip install conda; sudo conda init; conda create -p $HOME/py --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas; export PATH=$HOME/py/bin:$PATH;
fi
# - if [ $TRAVIS_PYTHON_VERSION == "3.2_with_system_site_packages" ]; then
# wget -O- http://neuro.debian.net/lists/precise.us-ca.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list; sudo apt-key adv --recv-keys --keyserver pool.sks-keyservers.net 2649A5A9; echo | sudo add-apt-repository ppa:chris-lea/python-numpy; echo | sudo add-apt-repository ppa:pylab/stable; sudo apt-get update -q; sudo apt-get install -qq python3-numpy python3-scipy python3-pandas python3-pandas-lib;
# else
sudo pip install conda; sudo conda init; conda create -p $HOME/py --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas; export PATH=$HOME/py/bin:$PATH;
# fi

install:
- pip install -r requirements.txt
- pip install .
- pip install -r requirements.txt
- pip install .

script: python setup.py test

deploy:
provider: pypi
user: esafak
password:
secure: "ERTeFa4LZh+hiDqnv8Wf6qK6KNkFr+LFFsYx7bohM8iZsEDdciGcNis17r2H21WjIu2khIPUYarRKijVvvRMApVNgt4VLtuT5Z4WPVGS71vpJ5jZvVgZS/zo8MBZ8jbUAlMugdoWIxtSGRvJKZz6M2//eh3BtDhIz/gB4o1wGOg="
on:
tags: true
provider: pypi
user: esafak
password:
secure: "ERTeFa4LZh+hiDqnv8Wf6qK6KNkFr+LFFsYx7bohM8iZsEDdciGcNis17r2H21WjIu2khIPUYarRKijVvvRMApVNgt4VLtuT5Z4WPVGS71vpJ5jZvVgZS/zo8MBZ8jbUAlMugdoWIxtSGRvJKZz6M2//eh3BtDhIz/gB4o1wGOg="
on:
tags: true
4 changes: 3 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ History
* **1.01** (2015-03-23)
More documentation, in the form of an ipython notebook. Fixed bug #2 affecting python 2.x
* **1.02** (2017-07-29)
Fixed division-by-zero bug (issue #14)
Fixed division-by-zero bug (issue #14)
* **1.03** (2018-01-10)
Added sparse matrix support
1 change: 0 additions & 1 deletion description

This file was deleted.

15 changes: 0 additions & 15 deletions hooks/applypatch-msg.sample

This file was deleted.

24 changes: 0 additions & 24 deletions hooks/commit-msg.sample

This file was deleted.

8 changes: 0 additions & 8 deletions hooks/post-update.sample

This file was deleted.

14 changes: 0 additions & 14 deletions hooks/pre-applypatch.sample

This file was deleted.

50 changes: 0 additions & 50 deletions hooks/pre-commit.sample

This file was deleted.

169 changes: 0 additions & 169 deletions hooks/pre-rebase.sample

This file was deleted.

36 changes: 0 additions & 36 deletions hooks/prepare-commit-msg.sample

This file was deleted.

Loading

0 comments on commit f2b79ec

Please sign in to comment.