remove test requirement for six, doc modifications, doctest fix
The test requirement for six was problematic, as some versions cause problems with assertWarns and some do not. We are already filtering out versions that we know cause problems and it can unintentionally cause an upgrade superceding the system version if it remains as a "test_requires" option, so best to get rid of it. Additionally, the "test_requires" option was entirely removed as pip doesn't recognize it upon install, so "mock" would not be installed on Python2.7 via pip. The doctest fix was the real fix for #316, not sure why this did not show up when testing on linux mint
This commit is contained in:
parent
7b1522bb0e
commit
2ffdf716c0
9 changed files with 33 additions and 130 deletions
4
setup.py
4
setup.py
|
|
@ -21,12 +21,10 @@ kwargs = {'name': 'Glymur',
|
|||
'test_suite': 'glymur.test'}
|
||||
|
||||
install_requires = ['numpy>=1.7.0', 'lxml>=3.0.0']
|
||||
test_requires = ['six>=1.7.0']
|
||||
if sys.hexversion < 0x03030000:
|
||||
install_requires.append('contextlib2>=0.4')
|
||||
test_requires.append('mock>=1.0.1')
|
||||
install_requires.append('mock>=1.0.1')
|
||||
kwargs['install_requires'] = install_requires
|
||||
kwargs['test_requires'] = test_requires
|
||||
|
||||
clssfrs = ["Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue