python module not installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I'm updating a python package and I have the following issue. As
per Fedora packaging guidelines, we should use:

%build
%{__python2} setup.py build

%install
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}

which is fine to me. But with this new version of my package, the module doesn't get copied if --skip-build is present (it only
copies the egg):

running install
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
...

What should I do? If I remove --skip-build, it works fine, but I'm not
sure if I can do that in the spec file.

Thanks in advance,
Germán.

--
Germán A. Racca
Fedora Package Maintainer
https://fedoraproject.org/wiki/User:Skytux
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux