Issue #81 new

bdist_rpm doesn't work out-of-the-box

Anonymous created an issue

Downloaded 0.6.8, unpacked, typed "python setup.py bdist_rpm" and go this:

{{{

... Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/distribute-0.6.8-1-buildroot error: Installed (but unpackaged) file(s) found: /usr/lib64/python2.6/site-packages/setuptools-0.6c9-py2.6.egg-info /usr/lib64/python2.6/site-packages/setuptools.pth

RPM build errors: File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/PKG-INFO File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/SOURCES.txt File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/dependency_links.txt File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/entry_points.txt File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/entry_points.txt.orig File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/top_level.txt File listed twice: /usr/lib64/python2.6/site-packages/distribute-0.6.8-py2.6.egg-info/zip-safe Installed (but unpackaged) file(s) found: /usr/lib64/python2.6/site-packages/setuptools-0.6c9-py2.6.egg-info /usr/lib64/python2.6/site-packages/setuptools.pth error: command 'rpmbuild' failed with exit status 1

}}} Basically, the package adds a .pth file and the .egg-info directory but does not record their presence.

Comments (2)

  1. Tarek Ziadé repo owner

    Yes we didn't work on a RPM support because of the need to run a hook before installing. This hook add the mentioned files after removing them if present, to avoid setuptools to override the installation.

    So for RPM, a few things needs to be done in setup.py for that.

    Are you interested in adding this support ?

  2. Log in to comment