From 480ccde9da1219b5f62f0787b4e5f9d2465ac428 Mon Sep 17 00:00:00 2001 From: martinghunt Date: Tue, 18 Aug 2015 10:02:48 +0100 Subject: [PATCH] Numpy required by install and is on pypi; version bump --- pyfastaq/common.py | 2 +- setup.py | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/pyfastaq/common.py b/pyfastaq/common.py index 881e5f4..f157366 100644 --- a/pyfastaq/common.py +++ b/pyfastaq/common.py @@ -1 +1 @@ -version = '3.6.0' +version = '3.6.1' diff --git a/setup.py b/setup.py index 0ba78eb..9c355f2 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,10 @@ -import os import glob -import sys from setuptools import setup, find_packages -try: - import numpy -except ImportError: - print("Error! numpy for Python3 not found.\nPlease install it (e.g. apt-get install python3-numpy)", file=sys.stderr) - sys.exit(1) - setup( name='pyfastaq', - version='3.6.0', + version='3.6.1', description='Script to manipulate FASTA and FASTQ files, plus API for developers', packages = find_packages(), author='Martin Hunt', @@ -20,7 +12,8 @@ url='https://github.com/sanger-pathogens/Fastaq', scripts=glob.glob('scripts/*'), test_suite='nose.collector', - install_requires=['nose >= 1.3'], + tests_require=['nose >= 1.3'], + install_requires=['numpy >= 1.7.1'], license='GPLv3', classifiers=[ 'Development Status :: 4 - Beta',