[issue2945] bdist_rpm does not list dist files (should effect upload)

Hartmut Goebel report at bugs.python.org
Thu May 22 16:34:32 CEST 2008


New submission from Hartmut Goebel <htgoebel at users.sourceforge.net>:

In Python 2.5 distutils has a bug in bdist_rpm:

Generated distribution files are not listed in
``distribution.dist_files``. Thus .rpms can not be handled by other
tools, eg. ``upload``.

I need this bug fixed for automated upload of files using
<http://origo-submit.origo.ethz.ch>.

Enclosed please find a simple package to show the bug. Just run

    python setup.py bdist_rpm

and watch the (missing) output. In contrast see the output of

    python setup.py sdist

Additionally:
While untested, this should effect distutils ``upload`` command. RPMs
are not in the dist_files list and when looking at the source, there
seams to be no 'trick' to add them later.

----------
components: Distutils
files: simple-0.0.0.0.1.tar.gz
messages: 67192
nosy: htgoebel
severity: normal
status: open
title: bdist_rpm does not list dist files (should effect upload)
versions: Python 2.5
Added file: http://bugs.python.org/file10403/simple-0.0.0.0.1.tar.gz

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2945>
__________________________________


More information about the Python-bugs-list mailing list