Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.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.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'error:': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'finney': 0.16; 'wrote:': 0.18; 'command': 0.22; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; "i'm": 0.30; 'writes:': 0.31; 'figure': 0.32; 'run': 0.32; 'running': 0.33; 'but': 0.35; 'there': 0.35; 'ubuntu': 0.36; 'ben': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:173': 0.61; 'skip:\xe2 10': 0.65; 'ethan': 0.84; 'furman': 0.84; 'skip:/ 30': 0.84 Date: Wed, 30 Apr 2014 19:50:09 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: freeze.py References: <5361AD71.7000704@stoneleaf.us> <858uqmi5i9.fsf@benfinney.id.au> In-Reply-To: <858uqmi5i9.fsf@benfinney.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3304.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source-IP: 173.12.184.233 X-Exim-ID: 1Wfh4c-0001Od-Ak X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.233]) [173.12.184.233]:50854 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3IzMzA0Lmhvc3RnYXRvci5jb20= 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398915386 news.xs4all.nl 2840 [2001:888:2000:d::a6]:54125 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70803 On 04/30/2014 07:42 PM, Ben Finney wrote: > Ethan Furman writes: > >> I'm running ubuntu 13.04, I have installed python2.7-dev and >> python2.7-example, but when I try to run freeze.py I get: >> >> Error: needed directory /usr/lib/python2.7/config not found > > Where is ‘freeze.py’? Is there documentation provided for the > installation of that tool? > > What exact command do you issue in order to run it? I think I have that part of it solved: make libainstall # not sure this was necessary, but it (re)copies # the wanted files into /usr/local/ib/python2.7/config .../python2.7/Tools/freeze/freeze.py -P /usr/local/ # so freeze looks in the right place Now I just have to figure out how to get _ctypes included... -- ~Ethan~