Skip to content

Commit 4dc2c09

Browse files
Fixed Python 2 setup. Closes catherinedevlin#117.
1 parent 6710de4 commit 4dc2c09

6 files changed

Lines changed: 25 additions & 1 deletion

File tree

NEWS.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,8 @@ Deleted Plugin import left behind in 0.2.2
150150
* bugfix in executing column_local_vars (thanks tebeka)
151151
* pgspecial installation optional (thanks jstoebel and arjoe)
152152
* conceal passwords in connection strings (thanks jstoebel)
153+
154+
0.3.9
155+
-----
156+
157+
* Restored Python 2 compatibility (thanks tokenmathguy)

requirements-dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
psycopg2
2+
pandas
3+
pytest
4+

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
prettytable
2+
ipython>=1.0
3+
sqlalchemy>=0.6.7
4+
sqlparse
5+
six
6+
ipython-genutils>=0.1.0

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from io import open
12
from setuptools import setup, find_packages
23
import os
34

src/tests/run_tests.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[tox]
2+
envlist = py27,py36
3+
4+
[testenv]
5+
deps = pytest
6+
-rrequirements.txt
7+
-rrequirements-dev.txt
8+
commands =
9+
ipython -c "import pytest; pytest.main(['.'])"

0 commit comments

Comments
 (0)