[ python-Bugs-1533164 ] Installed but not listed *.pyo break bdist_rpm

SourceForge.net noreply at sourceforge.net
Wed Aug 2 16:34:54 CEST 2006


Bugs item #1533164, was opened at 2006-08-02 18:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1533164&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Shmyrev Nick (nshmyrev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Installed but not listed *.pyo break bdist_rpm

Initial Comment:
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.



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1533164&group_id=5470


More information about the Python-bugs-list mailing list