Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57857
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <nedbat@gmail.com> |
| X-Original-To | Python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'python,': 0.02; 'true,': 0.05; 'mysql,': 0.07; 'django,': 0.09; 'git': 0.09; 'python': 0.11; 'itself.': 0.14; 'git.': 0.16; 'non-python': 0.16; 'subject:django': 0.16; 'subject:python': 0.16; 'ignore': 0.16; 'so.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'all,': 0.19; 'trying': 0.19; 'packages.': 0.19; 'fit': 0.20; 'seems': 0.21; 'install': 0.23; 'installation': 0.23; 'header :User-Agent:1': 0.23; 'order.': 0.26; 'updating': 0.26; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'appreciated.': 0.29; 'directory,': 0.31; 'gary': 0.31; 'ones.': 0.31; 'subject:development': 0.31; 'file': 0.32; 'linux': 0.33; 'mac': 0.33; 'subject:with': 0.35; 'one,': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'activate': 0.36; 'date.': 0.36; 'two': 0.37; 'project': 0.37; 'area': 0.37; 'generic': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'recent': 0.39; 'does': 0.39; 'structure': 0.39; 'delete': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'removing': 0.60; 'sincerely': 0.63; 'choose': 0.64; 'more': 0.64; 'situation': 0.65; 'techniques': 0.66; 'brain': 0.68; 'overall': 0.69; 'helping': 0.70; 'centers': 0.74; 'other.': 0.75; 'apt-get': 0.84; 'to:addr:verizon.net': 0.93; 'subject:Setting': 0.96 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7QFtmx8vVvGQXb1ykGEpQhlnDmAMq5bfxY8d1glvMB8=; b=R/oiQO8WKP4DQZZYoM1YSwplbLUslAiIwX/3UUOkfwAU6PAs3Dq/L6QywKlEG7s2wD 5p+tvJ8iytIFA968NOyn2yTWJ3Nx1Ym5VDTOBqrRpZ7gpVI2ZCSF3/wq15P8raItUd27 AhjE4K767w2MjFOXfnsoCs4gq71NjU75zTSnXjxZHPnEsHQ6MLBLUepf3WjcAPM9AfRe eOhRvvFcTW5NhVfPoyOt1/xZtbL2Wy8wDTFBDcDITqrSgxPd2mSPbDRbXeWZpmbt/3k7 akeGc9Gp5qVB6XvQSrS79u1VudSzgh2dpbGGf7h+hABIYw/KoTrXkwbm1MyAZ4cdQXkB L2CQ== |
| X-Received | by 10.236.63.225 with SMTP id a61mr18058612yhd.52.1383002451471; Mon, 28 Oct 2013 16:20:51 -0700 (PDT) |
| Sender | Ned Batchelder <nedbat@gmail.com> |
| Date | Mon, 28 Oct 2013 19:20:49 -0400 |
| From | Ned Batchelder <ned@nedbatchelder.com> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
| MIME-Version | 1.0 |
| To | Gary Roach <gary719_list1@verizon.net>, python mailing list <Python-list@python.org> |
| Subject | Re: Setting up for python django development with Debian Linux |
| References | <526EBEFF.9000707@verizon.net> |
| In-Reply-To | <526EBEFF.9000707@verizon.net> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1727.1383002459.18130.python-list@python.org> (permalink) |
| Lines | 47 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1383002459 news.xs4all.nl 15865 [2001:888:2000:d::a6]:35821 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57857 |
Show key headers only | View raw
On 10/28/13 3:46 PM, 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. 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. > The two installation techniques (OS-centric and language-centric) overlap in some ways, and each has their own strengths. Some people prefer one, some the other. I would use apt-get to install any non-Python packages, including Python itself. That would be Python, mysql, and git. I would also use apt-get to install virtualenv and/or virtualenvwrapper. Then create a virtualenv, activate it, and use pip to install the Python packages. The advantage of virtualenv is that you can have more than one (for experimenting with other projects), you can delete the whole thing by just removing the directory, and it isolates you from the system-installed Python packages so you can be sure of what packages you are using. The virtualenv is outside the scope of apt-get, so it's true, you won't have Debian helping to keep it up to date. On the plus side, not all Python packages are packaged as Debian packages, and those that are can lag, so virtualenv+pip will give you more Python packages to choose from, and more recent ones. --Ned. > Any help with straightening out my brain in this area will be > sincerely appreciated. > > Gary R.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Setting up for python django development with Debian Linux Ned Batchelder <ned@nedbatchelder.com> - 2013-10-28 19:20 -0400
csiph-web