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


Groups > comp.lang.python > #29612

Re: "Development mode"

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <tarek@ziade.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'argument': 0.04; 'setup.py': 0.07; 'python': 0.09; 'command.': 0.09; 'received:internal': 0.09; 'sentence': 0.09; 'looked': 0.10; 'advance.': 0.15; '"python': 0.16; 'differs': 0.16; 'from:name:tarek ziad\xe9': 0.16; 'install"': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:mail.srv.osa': 0.16; 'received:messagingengine.com': 0.16; 'received:nyi.mail.srv.osa': 0.16; 'received:osa': 0.16; 'received:srv.osa': 0.16; 'setuptools': 0.16; 'url:packages': 0.16; 'url:setuptools': 0.16; 'wrote:': 0.17; "python's": 0.23; 'feature': 0.24; 'command': 0.24; 'testing': 0.24; 'allows': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'installing': 0.27; 'is?': 0.27; 'skip:> 10': 0.27; 'run': 0.28; 'environment': 0.29; 'install': 0.29; 'distribute': 0.30; 'code': 0.31; 'url:python': 0.32; 'could': 0.32; 'anyone': 0.33; 'to:addr :python-list': 0.33; 'project': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'continue': 0.35; 'add': 0.36; 'explain': 0.36; 'but': 0.36; 'url:org': 0.36; 'modules': 0.36; 'useful': 0.36; 'does': 0.37; 'received:10': 0.38; 'description': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'your': 0.60; "you've": 0.61; '9:02': 0.84; 'subject:mode': 0.84; 'subject:Development': 0.95
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=/g3h1YWuYsZDjtcPxeE/07 Nh0ZM=; b=WfRBTvVNHcs9toAt0rt3/pypc58+8Zoa0RDIiLFGrPy6nfUf6bqS6I BOpsoihCD61Y0od3OLyks6Rt4DLAQSR6zoVmeORB9hnF4YCDgbmx5QAG8EN37o/B Q7oUOlbK4SZtH2F9wS1YEcdiUXOfS3UtZBbez/ZN6CLT/XbU7t/IE=
X-Sasl-enc 0/Gy6199g+kkAPYIWQ6V45BO2ggQp6GQrWI48BjTTcaQ 1348217293
Date Fri, 21 Sep 2012 10:48:45 +0200
From Tarek Ziadé <tarek@ziade.org>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: "Development mode"
References <3142822a-9e66-413c-ac21-4363ba882bc3@googlegroups.com>
In-Reply-To <3142822a-9e66-413c-ac21-4363ba882bc3@googlegroups.com>
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.996.1348217295.27098.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348217295 news.xs4all.nl 6984 [2001:888:2000:d::a6]:38953
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29612

Show key headers only | View raw


On 9/20/12 9:02 PM, py_lrnr wrote:
> I am new to python and I have come across the following command and its description:
>
>> Now to be able to run the project you will need to install it and its >dependencies.
>> python setup.py develop
> I looked up what the 'develop' argument does and found:
>
>> Extra commands:
>>   develop           install package in 'development mode'
> I searched for a description of 'development mode' but could not find a good description.
>
> Can anyone (very briefly) explain to me, in a sentence or two:
>
> what 'development mode' is?


> how 'development mode' differs from other 'modes'?
> why/when I would use 'development mode'?
> what 'development mode' does or does not allow me to do?
>
> Many thanks in advance.

This a setuptools / distribute feature that allows you to add a project 
to your Python environment without installing it - so you can continue 
its "development"

In other words, when you call "python setup.py develop", setuptools will 
compile the metadata and hook your project into Python's site-package,
but the packages and modules that will be used are the one in the 
directory where you've run that command.

This is useful to continue working on your code and testing it without 
having to run "python setup.py install" on every run

see 
http://packages.python.org/distribute/setuptools.html#develop-deploy-the-project-source-in-development-mode

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

"Development mode" py_lrnr <henryalphabet@hotmail.com> - 2012-09-20 12:02 -0700
  Re: "Development mode" Tarek Ziadé <tarek@ziade.org> - 2012-09-21 10:48 +0200

csiph-web