Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29612
| Date | 2012-09-21 10:48 +0200 |
|---|---|
| From | Tarek Ziadé <tarek@ziade.org> |
| Subject | Re: "Development mode" |
| References | <3142822a-9e66-413c-ac21-4363ba882bc3@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.996.1348217295.27098.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Find similar | Unroll 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