[packages/pylint] Do not use installed pylint for generating docs
jajcus
jajcus at pld-linux.org
Thu May 8 16:49:09 CEST 2014
commit cba3691d6e5936acfd14f4abcf4e007486de5e9d
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu May 8 16:44:29 2014 +0200
Do not use installed pylint for generating docs
pylint.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/pylint.spec b/pylint.spec
index f5d09bc..8ae20c1 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -99,6 +99,10 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
%build
%if %{with python2}
%{__python} setup.py build
+%else
+# for sphinx
+install -d build/lib
+ln -sf ../.. build/lib/pylint
%endif
%if %{with python3}
@@ -107,6 +111,7 @@ export NO_SETUPTOOLS=1
unset NO_SETUPTOOLS
%endif
+export PYTHONPATH=$PWD/build/lib
%{__make} -C doc text
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pylint.git/commitdiff/cba3691d6e5936acfd14f4abcf4e007486de5e9d
More information about the pld-cvs-commit
mailing list