Created
November 12, 2010 20:25
-
-
Save JustinTulloss/674615 to your computer and use it in GitHub Desktop.
importing json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| import json | |
| except ImportError: | |
| import simplejson as json | |
| # in setuptools | |
| dependencies = [] | |
| try: | |
| import json | |
| except: | |
| dependencies.append('simplejson') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment