Skip to content

Commit 9d3511b

Browse files
committed
Fixing setup py install dependencies
1 parent 7e5ba81 commit 9d3511b

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

rethinkdb/__init__.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
import os
15-
1615
import imp
16+
import pkg_resources
1717

1818
from rethinkdb import errors, version
19-
from rethinkdb import net
20-
import pkg_resources
2119

2220

2321
# The builtins here defends against re-importing something obscuring `object`.
@@ -35,7 +33,16 @@ class RethinkDB(builtins.object):
3533
def __init__(self):
3634
super(RethinkDB, self).__init__()
3735

38-
from rethinkdb import _dump, _export, _import, _index_rebuild, _restore, ast, query, net
36+
from rethinkdb import (
37+
_dump,
38+
_export,
39+
_import,
40+
_index_rebuild,
41+
_restore,
42+
ast,
43+
query,
44+
net
45+
)
3946

4047
self._dump = _dump
4148
self._export = _export

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@
9494
'rethinkdb-repl = rethinkdb.__main__:startInterpreter'
9595
]
9696
},
97-
setup_requires=['pytest-runner'],
98-
test_suite='tests',
99-
tests_require=['pytest']
97+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
98+
install_requires=[
99+
'six'
100+
],
101+
test_suite='tests'
100102
)

0 commit comments

Comments
 (0)