From b305180d091b44278cc8bc78891d6dcc128bc920 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Tue, 27 Feb 2018 14:07:55 -0500 Subject: [PATCH] prereq --- pyiri2016/__init__.py | 7 +------ setup.py | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pyiri2016/__init__.py b/pyiri2016/__init__.py index 4519a9e..bd8a433 100644 --- a/pyiri2016/__init__.py +++ b/pyiri2016/__init__.py @@ -1,9 +1,4 @@ -try: - from pathlib import Path - Path().expanduser() -except (ImportError,AttributeError): # Python < 3.5 - from pathlib2 import Path -#%% +from pathlib import Path import datetime from dateutil.parser import parse import xarray diff --git a/setup.py b/setup.py index 895cf01..d473d2d 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -install_requires = ['python-dateutil','numpy','pathlib2'] +install_requires = ['python-dateutil','numpy','xarray'] tests_require = ['nose','coveralls'] name = 'pyiri2016' # %%