#16671: 5th tutorial on turning Polls into a reusable app
-------------------------------+------------------------------------
     Reporter:  stumbles       |                    Owner:  ben@…
         Type:  New feature    |                   Status:  new
    Component:  Documentation  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by carljm):

 Looks like even distutils itself is built to assume that setup.py is in
 the current working directory. Interesting, I didn't realize that. I think
 I'd never tried to actually run sdist or install from a different
 directory, only simple metadata-getting commands (`python setup.py
 egg_info` or e.g. `python setup.py --long-description`).

 That definitely reduces the importance of point 4, but I still think it's
 worth doing this the robust way, because at least then a few more (simple)
 uses of setup.py will work from a different directory. I've definitely
 seen real bugs filed against real packages because the handling of
 `README.txt` wasn't robust against execution from a different directory.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16671#comment:33>
Django <https://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 https://groups.google.com/groups/opt_out.


Reply via email to