From bccf027a4129feeba5157962d13d1a69f1ade4f3 Mon Sep 17 00:00:00 2001 From: Jorgen Stenarson Date: Thu, 15 Jul 2010 19:09:35 +0200 Subject: [PATCH] Setting version to 1.6 and adding build-doc.bat --- build-doc.bat | 14 ++++++++++++++ pyreadline/release.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 build-doc.bat diff --git a/build-doc.bat b/build-doc.bat new file mode 100644 index 0000000..1bcb636 --- /dev/null +++ b/build-doc.bat @@ -0,0 +1,14 @@ +SET VERSION=1.6 +python setup.py build_sphinx +python setup.py build_sphinx -b latex + +pushd build\sphinx\latex +pdflatex pyreadline.tex +pdflatex pyreadline.tex +pdflatex pyreadline.tex +popd + +mkdir dist +copy build\sphinx\latex\pyreadline.pdf dist\pyreadline-%VERSION%.pdf + +xcopy /S /I build\sphinx\html dist\pyreadline-htmldoc-%VERSION% diff --git a/pyreadline/release.py b/pyreadline/release.py index e74dae3..2565374 100644 --- a/pyreadline/release.py +++ b/pyreadline/release.py @@ -22,7 +22,7 @@ name = u'pyreadline' branch = u'' -version = u'1.6.svn' +version = u'1.6' revision = u'$Revision$'