Skip to content

Commit

Permalink
Meta prep work (reqs.txt, tasks.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jan 22, 2014
1 parent c74ff2a commit 7d56ecb
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist/
paramiko.egg-info/
test.log
docs/
_build
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

3 changes: 0 additions & 3 deletions site/dev-requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions site/tasks.py → tasks.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tox-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Not sure why tox can't just read setup.py?
pycrypto
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d56ecb

Please sign in to comment.