Meta prep work (reqs.txt, tasks.py)

This commit is contained in:
Jeff Forcier 2014-01-10 20:07:43 -08:00
parent c74ff2a16e
commit 7d56ecb1a7
8 changed files with 14 additions and 7 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ dist/
paramiko.egg-info/
test.log
docs/
_build

View File

@ -5,7 +5,9 @@ python:
install:
# Self-install for setup.py-driven deps
- pip install -e .
- pip install coveralls
# Dev (doc/test running) requirements
- pip install coveralls # For coveralls.io specifically
- pip install -r dev-requirements.txt
script: coverage run --source=paramiko test.py --verbose
notifications:
irc:

6
dev-requirements.txt Normal file
View File

@ -0,0 +1,6 @@
# For newer tasks like building Sphinx docs.
# NOTE: Requires Python >=2.6
invoke>=0.6.1
invocations>=0.4.4
sphinx>=1.1.3
alabaster>=0.1.0

View File

@ -1,2 +0,0 @@
pycrypto
tox

View File

@ -1,3 +0,0 @@
invoke>=0.6.1
invocations>=0.4.4
sphinx==1.1.3

View File

@ -1,6 +1,7 @@
from invoke import Collection
from invocations import docs, testing
# TODO: let from_module specify new name
api = Collection.from_module(docs)
# TODO: maybe allow rolling configuration into it too heh

2
tox-requirements.txt Normal file
View File

@ -0,0 +1,2 @@
# Not sure why tox can't just read setup.py?
pycrypto

View File

@ -2,5 +2,5 @@
envlist = py25,py26,py27
[testenv]
commands = pip install --use-mirrors -q -r requirements.txt
commands = pip install --use-mirrors -q -r tox-requirements.txt
python test.py