Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57849 > unrolled thread

Setting up for python django development with Debian Linux

Started byGary Roach <gary719_list1@verizon.net>
First post2013-10-28 12:46 -0700
Last post2013-11-13 23:30 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Setting up for python django development with Debian Linux Gary Roach <gary719_list1@verizon.net> - 2013-10-28 12:46 -0700
    Re: Setting up for python django development with Debian Linux rusi <rustompmody@gmail.com> - 2013-10-28 19:59 -0700
    Re: Setting up for python django development with Debian Linux real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2013-11-13 23:30 +0000

#57849 — Setting up for python django development with Debian Linux

FromGary Roach <gary719_list1@verizon.net>
Date2013-10-28 12:46 -0700
SubjectSetting up for python django development with Debian Linux
Message-ID<mailman.1712.1382989594.18130.python-list@python.org>
Hi all,

I have been trying to set up a python, django, mysql, virtualenvwrapper 
and git development project and am really confused. All of the 
documentation seems to ignore the apt-get installation methods used by 
Debian Linux and its derivatives. Does pip install the same as apt-get; 
I don't think so. If I use virtualenvwrapper, how does this fit with the 
normal debian (wheezy) installation. I also need git which just confuses 
the situation even more. Must I give up the automatic updating system 
that Debian provides when setting up the development environment? The 
documentation centers on Windoz, Mac and generic Linux distributions and 
ignores the automation of the Debian installation. All of the 
documentation I have found concentrates on the installation of 
individual packages or on the use of python-django and is very sketchy 
on the overall virtualenv(wrapper), git, python-django file structure 
and installation order.

Any help with straightening out my brain in this area will be sincerely 
appreciated.

Gary R.

[toc] | [next] | [standalone]


#57872

Fromrusi <rustompmody@gmail.com>
Date2013-10-28 19:59 -0700
Message-ID<36c880d0-a984-4366-8b37-1a803ac943a0@googlegroups.com>
In reply to#57849
On Tuesday, October 29, 2013 1:16:07 AM UTC+5:30, Gary Roach wrote:
> Hi all,
> 
> I have been trying to set up a python, django, mysql, virtualenvwrapper 
> and git development project and am really confused. All of the 
> documentation seems to ignore the apt-get installation methods used by 
> Debian Linux and its derivatives.

Have you seen this?
https://code.djangoproject.com/wiki/Distributions

It seems to be saying that the standard debian/ubuntu package 'python-django' works

[toc] | [prev] | [next] | [standalone]


#59355

Fromreal-not-anti-spam-address@apple-juice.co.uk (D.M. Procida)
Date2013-11-13 23:30 +0000
Message-ID<1lcarpx.fw02p716wc0hfN%real-not-anti-spam-address@apple-juice.co.uk>
In reply to#57849
Gary Roach <gary719_list1@verizon.net> wrote:

> I have been trying to set up a python, django, mysql, virtualenvwrapper
> and git development project and am really confused. All of the 
> documentation seems to ignore the apt-get installation methods used by
> Debian Linux and its derivatives. 

I assume you've either worked this out or given up by now, but in any
case...

> Does pip install the same as apt-get; I don't think so. If I use
> virtualenvwrapper, how does this fit with the normal debian (wheezy)
> installation.

Firstly, pip doesn't install in the same way apt-get does. 

The general rule is: if it's a Python package (such as Django) use pip;
if it's not (such as MySQL) use apt-get.

Secondly, there is little if any need to install Python packages outside
a virtualenv. It's almost always more convenient to have them in a
virtualenv, rather than system-wide.

> I also need git which just confuses 
> the situation even more. Must I give up the automatic updating system
> that Debian provides when setting up the development environment? 

I just use apt-get to install Git and update it every now and then.

Daniele

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web