don't import py
This commit is contained in:
parent
e7c8fc7db9
commit
df85ddf0d2
|
@ -51,10 +51,9 @@ copyright = u'2011, holger krekel et alii'
|
|||
# The short X.Y version.
|
||||
version = '2.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
import py, pytest
|
||||
import pytest
|
||||
release = pytest.__version__
|
||||
version = ".".join(release.split(".")[:2])
|
||||
#assert py.path.local().relto(py.path.local(pytest.__file__).dirpath().dirpath())
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Loading…
Reference in New Issue