Using setup.py and tox

pull/15/head
Michael Egorov 2017-08-18 10:21:33 -07:00
parent 512bf54105
commit d976d41747
2 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,13 @@ INSTALL_REQUIRES = [
'kademlia>=1.0',
'rpcudp>=3.0']
TESTS_REQUIRE = [
'pytest',
'coverage',
'pytest-cov',
'pdbpp',
]
# should add --process-dependency-links to pip
LINKS = [
'https://github.com/bmuller/kademlia/archive/python3.5.tar.gz#egg=kademlia-1.0',
@ -14,4 +21,5 @@ setup(name='nkms',
description='NuCypher decentralized KMS',
install_requires=INSTALL_REQUIRES,
dependency_links=LINKS,
extras_require={'testing': TESTS_REQUIRE},
packages=['nkms'])

View File

@ -3,6 +3,7 @@ envlist = py35,py36
[testenv]
deps = .[testing]
install_command = pip install --process-dependency-links {opts} {packages}
commands = py.test {posargs}
[pytest]