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


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

Re: Removing python django projects

Started byNed Batchelder <ned@nedbatchelder.com>
First post2013-10-27 15:19 -0400
Last post2013-10-27 15:19 -0400
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Removing python django projects Ned Batchelder <ned@nedbatchelder.com> - 2013-10-27 15:19 -0400

#57759 — Re: Removing python django projects

FromNed Batchelder <ned@nedbatchelder.com>
Date2013-10-27 15:19 -0400
SubjectRe: Removing python django projects
Message-ID<mailman.1659.1382901599.18130.python-list@python.org>
On 10/26/13 9:14 PM, Gary Roach wrote:
> Hi
>
> In the process of trying to learn python, django, mysql and 
> virtualenvwrapper, I have created two projects and a mess. How can I 
> strip everything from a Debian, Wheezy, linux system. The files are 
> all over the place. Much of the information in this area is for Mac or 
> Windoz systems that do not have the apt-get, aptitude tools that 
> Debian makes available.
>
> My goal is to end up with a clean system ready for re installation of 
> a development environment.
>
> Any help will be sincerely appreciated.
>
> Gary R.

The way to keep things clean is with virtualenv.  When creating a 
project, start by making a virtualenv for it.  Always activate the 
virtualenv when working on the project.  Always install Python packages 
with pip, they will be installed into your virtualenv.

When you no longer need the project, you can simply delete the 
virtualenv directory, it has everything in it.

The helper virtualenvwrapper provides some shell tools to make some of 
this easier, but it's completely optional.

--Ned.

[toc] | [standalone]


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


csiph-web