Skip to content

Commit

Permalink
Remove db related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hfaran committed Dec 28, 2013
1 parent 6f31064 commit a76ab86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
3 changes: 0 additions & 3 deletions requirements.txt
@@ -1,5 +1,2 @@
MySQL-python>=1.2.4
tornado>=3.1.1 tornado>=3.1.1
dataset>=0.3.14
torndb>=0.1
jsonschema>=2.3.0 jsonschema>=2.3.0
13 changes: 11 additions & 2 deletions tornado_json/db.py
@@ -1,5 +1,14 @@
import torndb try:
import dataset import torndb
import dataset
except ImportError as e:
print (
"Install `torndb` and `dataset` packages from pip to use the"
" tornado_json.db module. These modules are not listed as dependencies"
" during installation as this module is considered non-essential to"
" Tornado-JSON as a whole."
)
raise e




class MySQLConnection(object): class MySQLConnection(object):
Expand Down

0 comments on commit a76ab86

Please sign in to comment.