Merge pull request #70 from J535D165/check-lib

Easy trick for users to check if they are using Python or C code
This commit is contained in:
James Turk 2016-11-16 13:32:03 -05:00 committed by GitHub
commit b645a98675
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
try: try:
from .cjellyfish import * # noqa from .cjellyfish import * # noqa
library = "C"
except ImportError: except ImportError:
from ._jellyfish import * # noqa from ._jellyfish import * # noqa
library = "Python"