Fixed Python 2 setup. Closes #117.

pull/132/head
Catherine Devlin 2018-09-02 21:56:06 -04:00
parent 6710de4f3a
commit 4dc2c090f5
6 changed files with 25 additions and 1 deletions

View File

@ -150,3 +150,8 @@ Deleted Plugin import left behind in 0.2.2
* bugfix in executing column_local_vars (thanks tebeka)
* pgspecial installation optional (thanks jstoebel and arjoe)
* conceal passwords in connection strings (thanks jstoebel)
0.3.9
-----
* Restored Python 2 compatibility (thanks tokenmathguy)

View File

@ -0,0 +1,4 @@
psycopg2
pandas
pytest

6
requirements.txt 100644
View File

@ -0,0 +1,6 @@
prettytable
ipython>=1.0
sqlalchemy>=0.6.7
sqlparse
six
ipython-genutils>=0.1.0

View File

@ -1,3 +1,4 @@
from io import open
from setuptools import setup, find_packages
import os

View File

@ -1 +0,0 @@
ipython -c "import nose; nose.run()"

9
tox.ini 100644
View File

@ -0,0 +1,9 @@
[tox]
envlist = py27,py36
[testenv]
deps = pytest
-rrequirements.txt
-rrequirements-dev.txt
commands =
ipython -c "import pytest; pytest.main(['.'])"