]> git.pld-linux.org Git - packages/pylint.git/commitdiff
Do not use installed pylint for generating docs auto/th/pylint-1.2.1-1
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 8 May 2014 14:44:29 +0000 (16:44 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 8 May 2014 14:44:29 +0000 (16:44 +0200)
pylint.spec

index f5d09bcaaa4c98688102a980e2e9980d3f912877..8ae20c1af2a418f7678727caa6b3de4a10b3fea7 100644 (file)
@@ -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
This page took 0.098758 seconds and 4 git commands to generate.