From cea62e22090f6eed0eaab2d87163cb8460594ed5 Mon Sep 17 00:00:00 2001 From: Harsh Gupta Date: Mon, 3 Nov 2014 23:29:33 +0530 Subject: [PATCH] fix travis setup --- .travis.yml | 12 ++++++------ requirements.txt | 1 - setup.py | 10 ++++++++++ 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 setup.py diff --git a/.travis.yml b/.travis.yml index 63b4bc5..808f7b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,12 @@ language: python python: - 2.7 +before_install: + - pip install flake8 + install: - - pip install -r requirements.txt + - python setup.py install script: - - py.test cv - - flake8 --exit-zero cv - -after_success: - - coveralls + - py.test agv_cv + - flake8 --exit-zero agv_cv diff --git a/requirements.txt b/requirements.txt index 0476889..33c2f74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -PIL>=1.1.7 Pillow>=2.6.1 scikit-image>=0.10.1 scipy>=0.14.0 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3293e17 --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +#! /usr/bin/env python +from distutils.core import setup +setup(name='agv_cv', + version='0.1', + packages=['agv_cv'], + install_requires=[ + 'scipy', + 'numpy', + ], + )