Skip to content

Commit

Permalink
required python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
CorySimon committed Sep 21, 2016
1 parent 3094c65 commit 3327412
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pyiast.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"""
__author__ = 'Cory M. Simon'

# This code is written for Python 3.
import sys
if sys.version_info[0] != 3:
print("pyIAST now requires Python 3.")
sys.exit(1)

from isotherms import _MODELS, _MODEL_PARAMS, _VERSION, ModelIsotherm, \
InterpolatorIsotherm, plot_isotherm
# depreciated classes
Expand Down

0 comments on commit 3327412

Please sign in to comment.