[Fedora-packaging] python module not installed

Toshio Kuratomi a.badger at gmail.com
Wed Mar 12 22:45:56 UTC 2014


On Wed, Mar 12, 2014 at 05:23:17PM -0300, "Germán A. Racca" wrote:
> 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.
> 
Where's the srpm at?  I'll take a look.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20140312/101007d5/attachment.sig>


More information about the packaging mailing list