#1040: manage.py should have shebang and +x permissions
-------------------------------------------+----------------------
               Reporter:  pb@…             |        Owner:  adrian
                 Status:  reopened         |    Milestone:
              Component:  django-admin.py  |      Version:  SVN
             Resolution:                   |     Keywords:
           Triage Stage:  Unreviewed       |    Has patch:  0
    Needs documentation:  0                |  Needs tests:  0
Patch needs improvement:  0                |
-------------------------------------------+----------------------

Comment (by ramiro):

 A couple of data points:

  * I can reproduce what the OP reports:
 `django/conf/project_template/manage.py` in the tree created by
 uncompressing an official tarball has excutable bits on.
  * `.../site-packages/django/conf/project_template/manage.py` has no
 executable bits; be it either by installing with `python setup.py install`
 from the uncompressed tarball or by running `pip install Django`, all this
 in a virtualenv.

 Do note that e.g. part one of the Tutorial uses `python manage.py
 <command>` but ther is an inconsistency regarding executable bits of
 manage.py has this inconsistency between a `startproject` done with e.g. a
 VCS checkout and with an official release installation.

 [http://docs.python.org/distutils/sourcedist.html Python docs] say nothing
 about executable permission of files that aren't listed in the `scripts`
 setup.py section. Perhaps it isn't possible at all?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/1040#comment:6>
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