Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'linux,': 0.07; 'skip:` 10': 0.07; 'utf-8': 0.07; '@echo': 0.09; 'python': 0.11; 'windows': 0.15; '.py': 0.16; 'extension,': 0.16; 'fancy': 0.16; 'interpreter,': 0.16; 'run:': 0.16; 'setuptools': 0.16; 'though)': 0.16; '(you': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'import': 0.22; 'tend': 0.24; 'file.': 0.24; 'script': 0.25; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'produces': 0.31; 'skip:c 30': 0.32; 'run': 0.32; 'running': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'method': 0.36; 'subject:?': 0.36; 'example,': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'aside': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'subject:Fwd': 0.61; 'from:charset:utf-8': 0.61; 'provide': 0.64; 'more': 0.64; 'skip:\xe2 10': 0.65; 'life': 0.66; 'here': 0.66; '8bit%:43': 0.74; 'can\xe2\x80\x99t': 0.84; 'easier,': 0.84; 'don\xe2\x80\x99t': 0.91; 'url:tk': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=D5iYeZu+b83rITg9wisr0VL7DG6Xz4NY8WS2271T8f4=; b=l8KS8q1/+kiJo8DBqweL05NIMC2XL/uQ2Acrqj+0SlkAQWuit0Xl8+FKs7gezp2FAj zf2m9XOn1XnElLYYRzCnpWjpZ5k2l669H5pJIZ8LWW6hHkr5tGEeWnTw8YwF1eHlIzxO V6G5LeRjWHjVA4k/z818L4AhO89de4ogqZJGBmPRPQQALeXPE6oR5+ZBD5evd3OHB9U6 daxDcuksUZL/FSiLTviROpOIybnQ98mZGaJsdDzIHzEQ31BON4fkix4qMxkydepOujDj aVBc2hcQOSppH2OUfMkD0w0W7+BmEFACvXGGwzDCdpf2HH2miOtgMRVaNxcdEdgN+8A2 IS/A== MIME-Version: 1.0 X-Received: by 10.50.77.34 with SMTP id p2mr18196479igw.31.1403941539933; Sat, 28 Jun 2014 00:45:39 -0700 (PDT) In-Reply-To: References: <4bfec709-263b-4c82-93ed-054432fd9d7e@googlegroups.com> <53ae33ba$0$29985$c3e8da3$5496439d@news.astraweb.com> <103dbef9-d18b-4ccb-90c5-1d840a183451@googlegroups.com> Date: Sat, 28 Jun 2014 09:45:39 +0200 Subject: Fwd: What can Nuitka do? From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403941549 news.xs4all.nl 2947 [2001:888:2000:d::a6]:51011 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73701 On Sat, Jun 28, 2014 at 7:40 AM, CM wrote: > I'm confused as to why it's not just a .py file. On Linux, the `nuitka` script would be run. Things in $PATH tend not to have an extension, and you don=E2=80=99t need one to run Python. (you can=E2=80=99t import files that don=E2=80=99t end in .py, though) > The nuitka.bat, aside from some remarks, is this: > > @echo off > setlocal > > "%~dp0..\python" "%~dp0nuitka" %* > > endlocal > This is a very fancy way of running Nuitka in the local python interpreter, with all the arguments. For example, this: C:\Python27\Scripts\nuitka.bat foo bar will make the script run: C:\Python27\python C:\Python27\Scripts\nuitka foo bar This is to make Windows users=E2=80=99 life easier, to provide them executables that work just as `nuitka` (and not `nuitka.py`). However, a more modern method than the one used here is setuptools entrypoints, which produces a nicer .exe file. -- Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense