-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
45 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
INSTALL_PATH = /usr/local | ||
INSTALL_PATH=/usr/local | ||
PYTHON=python3.5 | ||
|
||
default: | ||
python setup.py install --prefix $(INSTALL_PATH) | ||
$(PYTHON) setup.py install --prefix $(INSTALL_PATH) | ||
build: | ||
python setup.py build | ||
$(PYTHON) setup.py build | ||
install: | ||
python setup.py install --prefix $(INSTALL_PATH) | ||
$(PYTHON) setup.py install --prefix $(INSTALL_PATH) | ||
user: | ||
python setup.py install --prefix $(HOME)/.local | ||
$(PYTHON) setup.py install --prefix $(HOME)/.local | ||
env: | ||
(pip install -r requirements.txt; python setup.py install --prefix ./venv) | ||
(pip install -r requirements.txt; $(PYTHON) setup.py install --prefix ./venv) | ||
test: | ||
(cd tests; python test_basic.py) | ||
(cd tests; $(PYTHON) test_basic.py) | ||
basic_test: | ||
(cd tests; python test_basic.py) | ||
(cd tests; $(PYTHON) test_basic.py) | ||
advanced_test: | ||
(cd tests; python test_advanced.py > out; diff out OUT_1.0) | ||
(cd tests; $(PYTHON) test_advanced.py > out; diff out OUT_1.0) | ||
clean: | ||
rm -r build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION="v0.1.6" | ||
VERSION="v0.1.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,15 @@ | |
Advances in neural information processing systems, 1:399--406 (2002). | ||
""" | ||
from __future__ import division, print_function, absolute_import | ||
|
||
from __future__ import absolute_import,division,print_function,unicode_literals | ||
from builtins import * | ||
|
||
__copyright__ = "Copyright (C) 2016 Simone Marsili" | ||
__license__ = "BSD 3 clause" | ||
__version__ = "v0.1.6" | ||
__version__ = "v0.1.7" | ||
__author__ = "Simone Marsili ([email protected])" | ||
__all__ = ['entropy','histogram'] | ||
|
||
import numpy as np | ||
import warnings | ||
import sys | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
future>=0.15.2 | ||
numpy>=1.11.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters