﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11184	scripts/rpm-install.sh does not respect options passed to setup.py	pgriess@…	nobody	"Setuptools supports changing the target installation environment when building an RPM ({{{setup.py bdist_rpm}}}) with the {{{--python}}} or {{{--fix-python}}} options. These have the effect of changing the path to the python executable to invoke in the generated {{{.spec}}} file.

However, Django's {{{setup.py}}} specifies a custom installation script in {{{scripts/rpm-install.sh}}}, which always invokes {{{python}}} directly:

{{{
...
# This is what dist.py normally does.
python setup.py install --root=${RPM_BUILD_ROOT} --record=""INSTALLED_FILES""
...
}}}

As a result, it's impossible to generate a Django install to target non-default environments."	Bug	closed	Uncategorized	1.0	Normal	fixed			Ready for checkin	0	0	0	0	0	0
