Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'third-party': 0.04; 'matches': 0.07; 'alter': 0.09; 'git': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:update': 0.09; 'subject:virtualenv': 0.09; 'things,': 0.09; 'subject:How': 0.10; 'django': 0.11; 'suggest': 0.14; "(i'm": 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'code.': 0.18; 'deployment': 0.19; 'separate': 0.22; 'header:User- Agent:1': 0.23; 'skip': 0.24; 'source': 0.25; 'header:X -Complaints-To:1': 0.27; 'specifically': 0.29; 'robert': 0.30; "i'm": 0.30; 'serve': 0.31; 'loads': 0.31; 'wind': 0.31; 'writes:': 0.31; 'advice': 0.35; 'done': 0.36; 'subject:?': 0.36; 'should': 0.36; 'changing': 0.37; 'ben': 0.38; 'to:addr:python- list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'then,': 0.60; 'tell': 0.60; "you'll": 0.62 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: How do I update a virtualenv? Date: Tue, 29 Oct 2013 14:02:36 +1100 References: <526EF04A.6070702@nedbatchelder.com> <526EFDAF.9010109@nedbatchelder.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:ohA38jxgOMC+ejB3I9SZtLf+Y2o= 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383015774 news.xs4all.nl 15891 [2001:888:2000:d::a6]:33948 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57873 Skip Montanaro writes: > I'm using Heroku, following their instructions. They have a "git init" > in the midst of things, so I wind up with a git repo that matches up > one-to-one for my Django project. ("git push" installs). That's not a good thing; you don't want loads of third-party files in your VCS repository. Instead, the deployment to the live system should be done from a wholly separate build area, and the virtualenv can serve as that build area. Then, your VCS need only contain the files you'll actually be changing as source code. Where specifically are these instructions that tell you to put the virtualenv under VCS control? As you are a Heroku customer (I'm not), would you be willing to suggest they alter them based on advice from this forum? -- \ “Pity the meek, for they shall inherit the earth.” —Donald | `\ Robert Perry Marquis | _o__) | Ben Finney