Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4195

Re: Installing programs that depend on, or are, python extensions.

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cournape@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'extensions': 0.04; 'python': 0.07; 'all?': 0.09; 'done?': 0.09; 'tends': 0.09; 'pm,': 0.11; 'written': 0.12; 'examples': 0.12; 'c++': 0.12; 'package.': 0.12; 'wrote:': 0.14; 'subject:python': 0.15; 'both.': 0.16; 'hell,': 0.16; 'incomplete': 0.16; 'install,': 0.16; 'installer.': 0.16; 'last,': 0.16; 'developer': 0.16; 'versions': 0.18; 'suggest': 0.19; 'packaging': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'cheers,': 0.20; 'header :In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'group,': 0.24; 'example': 0.24; 'version': 0.25; 'correctly.': 0.25; 'notes': 0.26; 'windows': 0.26; 'environment.': 0.26; 'later': 0.26; 'david': 0.27; 'message-id:@mail.gmail.com': 0.28; 'installed': 0.29; 'noticed': 0.29; 'sat,': 0.29; 'installing': 0.29; 'cc:addr:python.org': 0.31; 'programmers': 0.31; 'anyone': 0.31; 'entry': 0.32; 'source': 0.32; 'done': 0.32; 'relatively': 0.33; 'on,': 0.33; 'actually': 0.34; 'there': 0.35; 'file': 0.35; 'open': 0.35; 'doing': 0.36; 'list,': 0.36; 'think': 0.36; 'shows': 0.36; 'received:209.85': 0.37; 'run': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'install': 0.38; 'user': 0.38; 'but': 0.38; 'files': 0.38; 'unless': 0.38; 'under': 0.39; 'likely': 0.39; 'received:209': 0.39; 'how': 0.39; 'header:Received:5': 0.40; 'subject:that': 0.60; '2011': 0.62; 'requiring': 0.69; 'click': 0.77; '30,': 0.80; 'wheels': 0.84; 'subject:are': 0.86; 'received:209.85.218.46': 0.91; 'received:mail- yi0-f46.google.com': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=SU9wLVlLVeydYL0aJ/aNwyL7lKg6ojWMVnQIfOMbpR0=; b=Tk5bD5KL2ayuAQy1/1r9450W21K9t0wMt/qYttN5HaFRoq2gwokW3aAaKhxOY/ksdO yQgA9UEcyS8sBjm0/U0RgVK1FMZfVys9t01us7eBHRw0D3NBvyABLBx3x2O3UbMb0oBz gcH2WSx3ph6fj/OgEfbYsISXT39j1asn22KAQ=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Xh/tpxieaV1yuEKfkhBD4lGPuHoJfGONBkg87oa+Cqg82sRhzpsp3O/U8MWao6MM86 LYvXltGDd9moCuaBpI+KUl4buNOSmAZuZHXUuHF2FOMtTEagSKu6Tx5aNaWD1Bm5uGiI AMSd0Cb/dLVGKaqnOr3o3Gucw9i85nbYAdwZc=
MIME-Version 1.0
In-Reply-To <3d0dee08-e743-4f10-ae79-5d3052c3d0d9@h36g2000pro.googlegroups.com>
References <3d0dee08-e743-4f10-ae79-5d3052c3d0d9@h36g2000pro.googlegroups.com>
Date Sat, 30 Apr 2011 17:39:49 +0900
Subject Re: Installing programs that depend on, or are, python extensions.
From David Cournapeau <cournape@gmail.com>
To "James A. Donald" <jamesdnld730@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1016.1304152792.9059.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 82.94.164.166
X-Trace 1304152792 news.xs4all.nl 41102 [::ffff:82.94.164.166]:43858
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4195

Show key headers only | View raw


On Sat, Apr 30, 2011 at 2:19 PM, James A. Donald <jamesdnld730@gmail.com> wrote:
> I have noticed that installing python programs tends to be hell,
> particularly under windows, and installing python programs that rely
> on, or in large part are, python extensions written in C++ tends to be
> hell on wheels with large spiky knobs and scythes on the wheels.
>
> Is this because such install are inherently hard to do and hard to
> write, or is it because Install tends to be done last, and therefore
> not done at all?

Most likely both.

Packaging complex application is hard, and I think few programmers
like doing it, so it is rarely done correctly.

>
> Can anyone suggest any examples of such a program with a clean windows
> install that shows how it was done?
>
> By windows install, I mean you run setup.exe, and get a program group,
> file types registered, and an entry in the add/remove programs list, I
> do not mean fourteen pages of direly incomplete notes which do not
> actually work for versions later than 1.01, and do not work for
> version 1.01 unless one has already installed the complete developer
> environment.

Well, python itself is a reasonably good example I think. But if you
are interested in having one python program which is a one click
install without requiring the user to even install python, you will
need to look into tools like py2exe which can create all the files
necessary to do so from an existing python package. Then, you package
those files into a nice installer. I like nsis, which is open source
and relatively well documented, but there are other solutions as well.

cheers,

David

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Installing programs that depend on, or are, python extensions. David Cournapeau <cournape@gmail.com> - 2011-04-30 17:39 +0900
  Re: Installing programs that depend on, or are, python extensions. "James A. Donald" <jamesdnld730@gmail.com> - 2011-05-03 03:48 -0700

csiph-web