From 78618c1f0184b4fc4813ded15332126219453d26 Mon Sep 17 00:00:00 2001 From: SrMouraSilva Date: Wed, 6 Mar 2019 13:07:26 -0300 Subject: [PATCH] Issue #8 Try fix python 3.6 build --- .noserc | 8 -------- requirements.txt | 5 +++-- setup.py | 4 ++-- setup_cpu.py | 4 ++-- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100755 .noserc diff --git a/.noserc b/.noserc deleted file mode 100755 index fafd690..0000000 --- a/.noserc +++ /dev/null @@ -1,8 +0,0 @@ -[nosetests] -all-modules=True -exe=True -with-doctest=True -exclude-dir=examples -with-coverage=True -cover-erase=True -cover-package=boltzmann_machines \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index def4e4f..a7d77c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,11 +2,12 @@ ipython~=5.4.1 jupyter~=1.0.0 keras~=2.0.8 matplotlib~=1.5.3 -nose-exclude~=0.5.0 -nose~=1.3.4 numpy~=1.13.0 scikit-learn~=0.19.0 scipy~=0.17.0 seaborn~=0.8.1 tensorflow-gpu~=1.3.0 tqdm~=4.14.0 +pytest~=4.3.0, +pytest-cov~=2.6.1 +codecov~=2.0.* \ No newline at end of file diff --git a/setup.py b/setup.py index 4f77d4a..6c8d389 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,10 @@ 'seaborn>=0.8.1', 'tqdm>=4.14.0', # Tests - 'pytest=4.3.*', + 'pytest==4.3.*', 'pytest-cov>=2.6.1', 'nose>=1.3.4', 'nose-exclude>=0.5.0', - 'codecov', + 'codecov>=2.0.*', ], packages=find_packages()) diff --git a/setup_cpu.py b/setup_cpu.py index 4ff3242..5177eb6 100644 --- a/setup_cpu.py +++ b/setup_cpu.py @@ -13,10 +13,10 @@ 'seaborn>=0.8.1', 'tqdm>=4.14.0', # Tests - 'pytest=4.3.*', + 'pytest==4.3.*', 'pytest-cov>=2.6.1', 'nose>=1.3.4', 'nose-exclude>=0.5.0', - 'codecov', + 'codecov>=2.0.*', ], packages=find_packages())