Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python,': 0.02; 'django,': 0.09; 'python': 0.11; 'project,': 0.12; 'aptitude': 0.16; 'optional.': 0.16; 'subject:django': 0.16; 'subject:projects': 0.16; 'to:name:python list': 0.16; 'virtualenv.': 0.16; 'subject:python': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'shell': 0.22; 'install': 0.23; 'creating': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'helper': 0.24; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'to:2**1': 0.27; 'appreciated.': 0.29; 'directory,': 0.31; 'gary': 0.31; 'strip': 0.31; 'linux': 0.33; 'mac': 0.33; 'created': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'activate': 0.36; 'two': 0.37; 'area': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'environment.': 0.39; 'delete': 0.39; 'to:addr:python.org': 0.39; 'system.': 0.39; 'how': 0.40; 'simply': 0.61; 'making': 0.63; 'information': 0.63; 'sincerely': 0.63; 'goal': 0.75; 'easier,': 0.84; 'to:addr:verizon.net': 0.93 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=vI+mZ9HZHTujecdCSbi85op47oX4oqc6E7nUcRaII68=; b=b2JeK+GQkB7ua2erTJifYKKAy8rQ/Yc/I7yqQt+XIZDrVQuV7Waa6Mnda+1J20qrA9 Nd6CzRnThelfR7tLbMAk0jmDsmkpHGsHyLSSmrhDMXnqmoJeZEI/Qysx4F3kzLDEZi/R FgLoCJMMJKgB/Bvf0YmTd0nHZNwiPQNjSavEm5cPPZnrqHryb+n3VStSrZZ6NBlt28B2 wKaf06gfUK6V6NW5B6CztL9xW1VcN9WbLb4+4MObeAbZ8mgo9CL06YIFssIRl7+chOaK OK5stzz+M2Aikcq/3x3SQyqIuKbNgKwyTLrmQJpn9T4XnY6Ydqo1ULsvwdyHXkgLvkvX dAiQ== X-Received: by 10.224.92.81 with SMTP id q17mr25445064qam.51.1382901590579; Sun, 27 Oct 2013 12:19:50 -0700 (PDT) Sender: Ned Batchelder Date: Sun, 27 Oct 2013 15:19:48 -0400 From: Ned Batchelder 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 , Python List Subject: Re: Removing python django projects References: <526C68FB.4050900@verizon.net> In-Reply-To: <526C68FB.4050900@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382901599 news.xs4all.nl 15987 [2001:888:2000:d::a6]:58962 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57759 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.