From 406e69ee8cc04e50cd59ad1f05d7b9bf658d76b9 Mon Sep 17 00:00:00 2001
From: Ruben Verweij <ruben@lighthacking.nl>
Date: Fri, 23 Apr 2021 13:21:40 +0200
Subject: [PATCH] Update dependencies

---
 .travis.yml           | 2 +-
 MANIFEST.in           | 2 +-
 nd2reader/__init__.py | 2 +-
 requirements.txt      | 4 ++--
 setup.py              | 3 ++-
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d4b7b9a..6de9aa3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,10 +11,10 @@ notifications:
   email: false
 
 python:
-  - 3.5
   - 3.6
   - 3.7
   - 3.8
+  - 3.9
 
 install:
   - pip install --upgrade pip setuptools wheel
diff --git a/MANIFEST.in b/MANIFEST.in
index cfc15b6..c064323 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,6 +1,6 @@
 include MANIFEST.in
-include VERSION
 include setup.py
+include setup.cfg
 include README.md
 include LICENSE
 include COPYING
diff --git a/nd2reader/__init__.py b/nd2reader/__init__.py
index 3941461..353176e 100644
--- a/nd2reader/__init__.py
+++ b/nd2reader/__init__.py
@@ -4,7 +4,7 @@ from nd2reader.legacy import Nd2
 
 try:
     import importlib.metadata as importlib_metadata
-except ModuleNotFoundError:
+except:
     import importlib_metadata
 
 try:
diff --git a/requirements.txt b/requirements.txt
index b6d1992..b8ab71a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-numpy>=1.9.2
+numpy>=1.14
 six>=1.4
 xmltodict>=0.9.2
-pims>=0.3.0
\ No newline at end of file
+pims>=0.3.0
diff --git a/setup.py b/setup.py
index 73f7bf7..8612353 100644
--- a/setup.py
+++ b/setup.py
@@ -7,11 +7,12 @@ if __name__ == '__main__':
         name='nd2reader',
         packages=['nd2reader'],
         install_requires=[
-            'numpy>=1.6.2',
+            'numpy>=1.14',
             'six>=1.4',
             'xmltodict>=0.9.2',
             'pims>=0.3.0'
         ],
+        python_requires=">=3.6",
         version=VERSION,
         description='A tool for reading ND2 files produced by NIS Elements',
         author='Ruben Verweij',
-- 
GitLab