Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'modules.': 0.07; 'python': 0.08; 'quickly.': 0.09; 'rebuild': 0.09; 'c++': 0.12; 'subject:python': 0.12; 'wrote:': 0.15; 'build.': 0.16; 'direction?': 0.16; 'missing,': 0.16; 'pointers': 0.16; 'received:192.168.1.40': 0.16; 'tree': 0.19; 'header:In-Reply- To:1': 0.22; 'uses.': 0.23; 'removed.': 0.25; 'modules': 0.25; 'developing': 0.27; "i'm": 0.27; '(you': 0.28; 'mine': 0.28; 'needed,': 0.28; 'all,': 0.28; 'do.': 0.30; 'module': 0.30; 'bare': 0.30; 'thanks': 0.31; 'source': 0.32; 'to:addr:python- list': 0.34; 'header:User-Agent:1': 0.34; 'core': 0.36; 'some': 0.37; 'minimum': 0.37; 'could': 0.37; 'using': 0.37; 'received:192': 0.38; 'put': 0.38; 'received:192.168.1': 0.39; 'should': 0.39; "there's": 0.39; 'to:addr:python.org': 0.39; "i'd": 0.40; 'your': 0.60; 'back': 0.63; 'free': 0.63; 'edition': 0.66; 'received:62': 0.67; 'studio': 0.71; 'from:addr:t': 0.84; 'thin': 0.84; '2008.': 0.91; 'victor': 0.91 Date: Fri, 22 Jul 2011 00:47:52 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Iceowl/1.0b2 Icedove/3.1.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: // about building python // References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=5C8691ED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 1311288475 news.xs4all.nl 23894 [2001:888:2000:d::a6]:51753 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10053 On 22/07/11 00:13, victor lucio wrote: > Hi All, > > I'd like to embbed a thin python in one application of mine i'm > developing so I need to know the module dependencies because I'm going > to remove some modules. > I also need to know the best way to rebuild the python core once these > modules have been removed. > > So, could you provide me some pointers in the right direction? > > Thanks in advance... > Well, get the source from www.python.org. There's a README in the source tree that will tell you how to build. If you're using Windows, you'll need Visual Studio 2008. The free Express Edition of Visual C++ will do. As for modules: you (should) know which modules your application uses. A trial-and-error approach should get you to a bare minimum quickly. (You know, remove everything you don't know is needed, try it out, put back modules you're missing, repeat) Thomas