From 0b2fc01900b0295279f7fc08f89fe7ec7c54256d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 15 Nov 2016 23:23:03 +0100 Subject: [PATCH] Easy trick for users to check if they are using Python or C code --- jellyfish/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jellyfish/__init__.py b/jellyfish/__init__.py index 7834569..ca124f2 100644 --- a/jellyfish/__init__.py +++ b/jellyfish/__init__.py @@ -1,4 +1,6 @@ try: from .cjellyfish import * # noqa + library = "C" except ImportError: from ._jellyfish import * # noqa + library = "Python"