Add support for Python 2.6 in docs conf
This commit is contained in:
parent
21a4e86e6f
commit
ee0d8647d8
|
@ -5,6 +5,9 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
if 'check_output' not in dir(subprocess):
|
||||||
|
import subprocess32 as subprocess
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'rst.linker',
|
'rst.linker',
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
pytest >= 2.8
|
pytest >= 2.8
|
||||||
|
subprocess32; python_version=="2.6"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user