[Django] #25376: Replace "sudo pip install" recommendation with virtualenv

43 views
Skip to first unread message

Django

unread,
Sep 10, 2015, 10:06:03 AM9/10/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
------------------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
We've removed most of "sudo pip" from the docs, but two instances remain:
{{{
docs/topics/install.txt: command ``sudo pip install Django`` at the
shell prompt. If you're using
docs/topics/install.txt: $ sudo pip install -e django-trunk/
}}}
We should probably replace this recommendation with a requirement to use
virtualenv.

[https://groups.google.com/d/topic/django-
developers/vDr33otqwAM/discussion django-developers thread] which spawned
this ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/25376>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 10, 2015, 10:21:35 AM9/10/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by tyagi-iiitv):

* owner: nobody => tyagi-iiitv
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:1>

Django

unread,
Sep 11, 2015, 9:37:41 AM9/11/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by tyagi-iiitv):

* needs_docs: 0 => 1
* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:2>

Django

unread,
Sep 11, 2015, 9:38:37 AM9/11/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by tyagi-iiitv):

* needs_docs: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:3>

Django

unread,
Sep 13, 2015, 4:37:48 AM9/13/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by yask123):

It's already mentioned in the doc as a second pointer:

"2. (optional) Take a look at virtualenv_ and virtualenvwrapper_. These
tools provide isolated Python environments, which are more practical than
installing packages systemwide. They also allow installing packages
without administrator privileges. It's up to you to decide if you want to
learn and use them."

--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:4>

Django

unread,
Sep 25, 2015, 3:47:09 PM9/25/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/5360 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:5>

Django

unread,
Sep 29, 2015, 2:33:58 PM9/29/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e" a523d94]:
{{{
#!CommitTicketReference repository=""
revision="a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e"
Fixed #25376 -- Required virtualenv in installation instructions.

Thanks Anjul Tyagi for some of the draft text.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:6>

Django

unread,
Sep 29, 2015, 2:34:07 PM9/29/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"e21c6f34ded8a2b0a9b5a80ab069eb2e1b15067b" e21c6f34]:
{{{
#!CommitTicketReference repository=""
revision="e21c6f34ded8a2b0a9b5a80ab069eb2e1b15067b"
[1.9.x] Fixed #25376 -- Required virtualenv in installation instructions.

Thanks Anjul Tyagi for some of the draft text.

Backport of a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:7>

Django

unread,
Sep 29, 2015, 2:34:13 PM9/29/15
to django-...@googlegroups.com
#25376: Replace "sudo pip install" recommendation with virtualenv
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: tyagi-
Type: | iiitv
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"f3ce888d3f2b5387d517225d1b70659a32bcc441" f3ce888]:
{{{
#!CommitTicketReference repository=""
revision="f3ce888d3f2b5387d517225d1b70659a32bcc441"
[1.8.x] Fixed #25376 -- Required virtualenv in installation instructions.

Thanks Anjul Tyagi for some of the draft text.

Backport of a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25376#comment:8>

Reply all
Reply to author
Forward
0 new messages