From 25f1cdfae649d97c7ac83b79c95ec318a096d940 Mon Sep 17 00:00:00 2001 From: lucas_miranda <lucasmiranda42@gmail.com> Date: Fri, 4 Sep 2020 18:28:39 +0200 Subject: [PATCH] Edited test_utils.py --- .gitlab-ci.yml | 1 + source/setup.py | 3 +++ test_deepof/test_utils.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 source/setup.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2add759..e4899c4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ test_a: script: - echo "Installing dependencies" - pip install -r ./source/requirements.txt + - pip install -e ./source/ - echo "Dependencies installed" - echo "Testing all functions in deepof.utils" - pytest ./test_deepof/test_utils.py diff --git a/source/setup.py b/source/setup.py new file mode 100644 index 00000000..57e35a44 --- /dev/null +++ b/source/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup, find_packages + +setup(name="deepof", version="0.0.1", packages=find_packages()) \ No newline at end of file diff --git a/test_deepof/test_utils.py b/test_deepof/test_utils.py index 068790f6..0cde5be8 100644 --- a/test_deepof/test_utils.py +++ b/test_deepof/test_utils.py @@ -6,7 +6,7 @@ from hypothesis import strategies as st from hypothesis.extra.numpy import arrays from hypothesis.extra.pandas import range_indexes, columns, data_frames from scipy.spatial import distance -from source.utils import * +from deepof.utils import * @given( -- GitLab