This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nshmyrev
Recipients
Date 2006-08-02.14:34:54
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This bug is forwarded from redhat's bugzilla:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198877

-------------------------------------------

Description of problem:

setup.py fails to build rpm.

How reproducible:
Always

Steps to Reproduce:
1. Create dir "foo" with these files:

foo.py
setup.py

setup.py contains:
----
#!/usr/bin/env python
from distutils.core import setup

setup(
name='foo',
version='0.1',
py_modules=['foo'],
)
----
contents of file foo.py is not important.

2. from the 'foo' directory run

python setup.py bdist_rpm
  
Actual results:

building of rpm fails with

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/foo-0.1-1-buildroot
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python2.4/site-packages/foo.pyo


Expected results:

The command above should create a rpm package.

History
Date User Action Args
2008-01-20 09:58:51adminlinkissue1533164 messages
2008-01-20 09:58:51admincreate