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 pearu
Recipients
Date 2003-10-23.12:44:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hi,

It appeas that setup.py is hardcoded into bdist_rpm.py
and this causes failure whenever using setup.py with
a different name. For example:
  python setup_xxx.py bdist_rpm
results in

<snip>
+ env 'CFLAGS=-O2 -march=i386 -mcpu=i686' python
setup.py build
python: can't open file 'setup.py'
error: Bad exit status from /var/tmp/rpm-tmp.14535 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.14535 (%build)
error: command 'rpmbuild' failed with exit status 1

Would it be possible for bdist_rpm.py to use the same
setup.py filename in def_build variable that called it?

Pearu
History
Date User Action Args
2007-08-23 14:17:50adminlinkissue828890 messages
2007-08-23 14:17:50admincreate