Use setup.py directly.

This commit is contained in:
Jeffrey C. Ollie 2008-07-25 16:02:46 +00:00
commit c25f65d829

View file

@ -29,11 +29,11 @@ unlike the default bindings.
chmod a-x doc/rest2html.py
%build
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}