#11184: scripts/rpm-install.sh does not respect options passed to setup.py
-------------------------------+--------------------------------------------
 Reporter:  pgri...@gmail.com  |       Owner:  nobody    
   Status:  new                |   Milestone:  1.1       
Component:  Uncategorized      |     Version:  1.0       
 Keywords:                     |       Stage:  Unreviewed
Has_patch:  0                  |  
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11184>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to