Commit b67cd604 authored by Matt Traudt's avatar Matt Traudt
Browse files

(Seem to) properly configure setup.py to pull a dev version of stem

I don't really like this as-is because it pins a specific (dev!) version.
In a super ideal world, our target platforms would distribute stem
packages that have the Timeout exception added. But that won't happen
for a while. In an ideal world, stem will have hit 1.7.0 with the Timeout
exception and we could require at least that.

Maybe this isn't so bad though? Anyway, I gotta get these Travis tests to
pass!

GH: ref #162
parent ebd74dfb
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -71,9 +71,12 @@ setup(
        ]
    },
    install_requires=[
        'stem',
        'stem==1.6.0.dev0',
        'requests',
    ],
    dependency_links=[
        "git+https://git.torproject.org/stem.git#egg=stem-1.6.0.dev0",
    ],
    extras_require={
        'dev': ['flake8'],
        'test': ['tox', 'pytest', 'coverage'],
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ commands=
   coverage html

[testenv]
install_command =
   pip install --process-dependency-links {opts} {packages}
deps = .[test]
commands =
   coverage run --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests -vv