diff --git a/setup.py b/setup.py index 9cfaa8e..567d72e 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ from setuptools import setup, find_packages -import tableprint setup( name='tableprint', diff --git a/tableprint.py b/tableprint.py index 728f0ab..d96584e 100644 --- a/tableprint.py +++ b/tableprint.py @@ -6,7 +6,10 @@ A module to print and display ASCII formatted tables of data """ from __future__ import print_function -import numpy as np +try: + import numpy as np +except ImportError: + pass # exports __all__ = ['table', 'row', 'header', 'hr', 'humantime', 'frame']