From bdb5ab92e82da30f5d4f878dfb767a25959110e3 Mon Sep 17 00:00:00 2001 From: iuvbio Date: Mon, 28 Jan 2019 22:58:19 +0100 Subject: [PATCH] import read_ods in init and adapt test --- .gitignore | 5 ++++- pandas_ods_reader/__init__.py | 1 + pandas_ods_reader/tests/test_read_ods.py | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a677a6e..8eb6378 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,8 @@ # Python egg metadata, regenerated from source files by setuptools. /*.egg-info -# Build folder +# Build folder. /build/ + +# PyCharm idea folder. +/.idea/ diff --git a/pandas_ods_reader/__init__.py b/pandas_ods_reader/__init__.py index e69de29..b682708 100644 --- a/pandas_ods_reader/__init__.py +++ b/pandas_ods_reader/__init__.py @@ -0,0 +1 @@ +from .read_ods import read_ods diff --git a/pandas_ods_reader/tests/test_read_ods.py b/pandas_ods_reader/tests/test_read_ods.py index 00d133e..a739268 100644 --- a/pandas_ods_reader/tests/test_read_ods.py +++ b/pandas_ods_reader/tests/test_read_ods.py @@ -1,7 +1,7 @@ import os import sys -from pandas_ods_reader.read_ods import read_ods +from pandas_ods_reader import read_ods root = os.path.dirname(os.path.abspath(__file__)) diff --git a/setup.py b/setup.py index f5c21b7..26c7798 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup(name="pandas_ods_reader", classifiers=[ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], keywords='data io pandas ods',