diff --git a/Makefile b/Makefile index f7bb1cf..c676c15 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ init: pip install -r requirements.txt test: - py.test tests.py + tox diff --git a/celigo/__init__.py b/celigo/__init__.py index b962e4b..758fb10 100644 --- a/celigo/__init__.py +++ b/celigo/__init__.py @@ -1 +1,2 @@ -from core import BackupCeligo, DEFAULT_BASE_URL +from .core import BackupCeligo, DEFAULT_BASE_URL +from .prompt import prompt diff --git a/celigo/core.py b/celigo/core.py index 6a1b29e..fe7a7c6 100644 --- a/celigo/core.py +++ b/celigo/core.py @@ -7,7 +7,7 @@ import json from slugify import slugify -import prompt +from celigo import prompt L = logging.getLogger(__name__) DEFAULT_BASE_URL = "https://api.integrator.io/v1/" diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..64553ae --- /dev/null +++ b/tox.ini @@ -0,0 +1,5 @@ +[tox] +envlist = py27,py33,py34,py35,pypy +[testenv] +deps=-rrequirements.txt +commands=py.test tests.py