Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bdist_rpm failure when no setup.py #39449

Closed
pearu mannequin opened this issue Oct 23, 2003 · 2 comments
Closed

bdist_rpm failure when no setup.py #39449

pearu mannequin opened this issue Oct 23, 2003 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@pearu
Copy link
Mannequin

pearu mannequin commented Oct 23, 2003

BPO 828743
Nosy @terryjreedy, @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2010-06-27.00:17:59.600>
created_at = <Date 2003-10-23.08:19:20.000>
labels = ['type-feature', 'library']
title = 'bdist_rpm failure when no setup.py'
updated_at = <Date 2010-06-27.00:17:59.594>
user = 'https://bugs.python.org/pearu'

bugs.python.org fields:

activity = <Date 2010-06-27.00:17:59.594>
actor = 'terry.reedy'
assignee = 'tarek'
closed = True
closed_date = <Date 2010-06-27.00:17:59.600>
closer = 'terry.reedy'
components = ['Distutils']
creation = <Date 2003-10-23.08:19:20.000>
creator = 'pearu'
dependencies = []
files = []
hgrepos = []
issue_num = 828743
keywords = []
message_count = 2.0
messages = ['18738', '108761']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'pearu', 'tarek']
pr_nums = []
priority = 'low'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue828743'
versions = ['Python 2.6', 'Python 2.5']

@pearu
Copy link
Mannequin Author

pearu mannequin commented Oct 23, 2003

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

@pearu pearu mannequin added stdlib Python modules in the Lib dir labels Oct 23, 2003
@tiran tiran added type-feature A feature request or enhancement labels Jan 4, 2008
@devdanzin devdanzin mannequin assigned tarekziade Feb 11, 2009
@terryjreedy
Copy link
Member

see msg108752

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants