File tree Expand file tree Collapse file tree 3 files changed +3
-39
lines changed Expand file tree Collapse file tree 3 files changed +3
-39
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,9 @@ REGENDOC_ARGS := \
1919 --normalize "@/tmp/pytest-of-.*/pytest-\d+@PYTEST_TMPDIR@" \
2020
2121
22-
2322.PHONY : help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
2423
25-
24+
2625help :
2726 @echo " Please use \` make <target>' where <target> is one of"
2827 @echo " html to make standalone HTML files"
3635clean :
3736 -rm -rf $(BUILDDIR ) /*
3837
39- SITETARGET =$(shell ./_getdoctarget.py)
40-
41- showtarget :
42- @echo $(SITETARGET )
43-
44- install : html
45- # for access talk to someone with login rights to
46- # [email protected] to add your ssh key 47- rsync -avz _build/html/
[email protected] :pytest.org/
$(SITETARGET ) 48-
49- installpdf : latexpdf
50- @scp
$(BUILDDIR ) /latex/pytest.pdf
[email protected] :pytest.org/
$(SITETARGET ) 51-
52- installall : clean install installpdf
53- @echo " done"
54-
5538regen :
5639 PYTHONDONTWRITEBYTECODE=1 COLUMNS=76 regendoc --update * .rst * /* .rst ${REGENDOC_ARGS}
5740
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919# The short X.Y version.
2020
2121import os , sys
22- sys .path .insert (0 , os .path .dirname (__file__ ))
23- import _getdoctarget
24-
25- version = _getdoctarget .get_minor_version_string ()
26- release = _getdoctarget .get_version_string ()
22+ from _pytest import __version__ as version
23+ release = "." .join (version .split ("." )[:2 ])
2724
2825# If extensions (or modules to document with autodoc) are in another directory,
2926# add these directories to sys.path here. If the directory is relative to the
You can’t perform that action at this time.
0 commit comments