Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42698 > unrolled thread
| Started by | John Nagle <nagle@animats.com> |
|---|---|
| First post | 2013-04-03 12:41 -0700 |
| Last post | 2013-04-03 19:59 -0700 |
| Articles | 5 — 5 participants |
Back to article view | Back to comp.lang.python
Distributing a Python program hell John Nagle <nagle@animats.com> - 2013-04-03 12:41 -0700
Re: Distributing a Python program hell Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-03 13:50 -0600
Re: Distributing a Python program hell Neil Cerutti <neilc@norwich.edu> - 2013-04-03 19:54 +0000
Re: Distributing a Python program hell Grant Edwards <invalid@invalid.invalid> - 2013-04-03 20:10 +0000
Re: Distributing a Python program hell rh <richard_hubbe11@lavabit.com> - 2013-04-03 19:59 -0700
| From | John Nagle <nagle@animats.com> |
|---|---|
| Date | 2013-04-03 12:41 -0700 |
| Subject | Distributing a Python program hell |
| Message-ID | <kji0gj$rtl$1@dont-email.me> |
I'm struggling with radio hams who are trying to get my antique Teletype program running. I hate having to write instructions like this: Installation instructions (Windows): Download and install Python 2.7 (32-bit) if not already installed. (Python 2.6 or 2.7 is required; "pyserial" will not work correctly on older versions, and "feedparser" is not supported in 3.x versions.) Install the Python module "setuptools" from the Python Package Index. (Needed by other installers. Has a Windows installer.) Install the Python module "feedparser" from Google Code. (Unpack ZiP file, run "setup.py install") Install the Python module "pyserial" from SourceForge. (Windows installer, but 32-bit only) Install the Python module "pygooglevoice" from Google Code. (Requires 7Zip to unpack the .tar.gz file. Then "setup.py install") Download "BaudotRSS" from SourceForge. (ZIP file, put in your chosen directory for this program.) Run: python baudotrss.py --help I'm thinking of switching to Go. John Nagle
[toc] | [next] | [standalone]
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2013-04-03 13:50 -0600 |
| Message-ID | <mailman.73.1365018653.3114.python-list@python.org> |
| In reply to | #42698 |
On Wed, Apr 3, 2013 at 1:41 PM, John Nagle <nagle@animats.com> wrote: > I'm struggling with radio hams who are trying to get my > antique Teletype program running. I hate having to write > instructions like this: > > Installation instructions (Windows): You should check out pyInstaller or py2exe or cx_Freeze.
[toc] | [prev] | [next] | [standalone]
| From | Neil Cerutti <neilc@norwich.edu> |
|---|---|
| Date | 2013-04-03 19:54 +0000 |
| Message-ID | <as3fnbFtmdeU1@mid.individual.net> |
| In reply to | #42698 |
On 2013-04-03, John Nagle <nagle@animats.com> wrote: > I'm struggling with radio hams who are trying to get my antique > Teletype program running. I hate having to write instructions > like this: > > Installation instructions (Windows): > > Download and install Python 2.7 (32-bit) if not already installed. > (Python 2.6 or 2.7 is required; "pyserial" will not work correctly on > older versions, and "feedparser" is not supported in 3.x versions.) > > Install the Python module "setuptools" from the Python Package Index. > (Needed by other installers. Has a Windows installer.) > > Install the Python module "feedparser" from Google Code. > (Unpack ZiP file, run "setup.py install") > > Install the Python module "pyserial" from SourceForge. > (Windows installer, but 32-bit only) > > Install the Python module "pygooglevoice" from Google Code. > (Requires 7Zip to unpack the .tar.gz file. Then "setup.py install") > > Download "BaudotRSS" from SourceForge. (ZIP file, put in your > chosen directory for this program.) > > Run: python baudotrss.py --help > > I'm thinking of switching to Go. Python programs can be distributed as binary-like packages, e.g., www.py2exe.org. -- Neil Cerutti
[toc] | [prev] | [next] | [standalone]
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Date | 2013-04-03 20:10 +0000 |
| Message-ID | <kji2cj$6b0$1@reader1.panix.com> |
| In reply to | #42701 |
On 2013-04-03, Neil Cerutti <neilc@norwich.edu> wrote:
> On 2013-04-03, John Nagle <nagle@animats.com> wrote:
>
>> I'm struggling with radio hams who are trying to get my antique
>> Teletype program running. I hate having to write instructions
>> like this:
>>
>> [...]
>
> Python programs can be distributed as binary-like packages, e.g.,
> www.py2exe.org.
I'd second the recommendation for for py2exe. It's been a couple
years since I used it, but for 6-7 years before that I used it
regularly to distribute about a half-dozen different wxPython apps to
Windows users, and it worked very nicely.
It sometimes requires some effort to get the configuration tweaked
right and then adjusted so the result works on a variety of Windows
versions, but in the end it always worked great.
I usually used one of the various free "self-installer generators" to
bundle up the .exe file(s) produced by py2exe along with whatever else
was needed to go with them and make them simple to install. [I've
forgotten which ones I used, but they all do basically the same
thing.]
I did all my development on Linux. When I boot over to Windows (on a
VM, generally) I had Cygwin installed and just ran a "make" to do all
the executable creation and bundling via command-line calls to py2exe
and self-installer utilities.
--
Grant Edwards grant.b.edwards Yow! It's a hole all the
at way to downtown Burbank!
gmail.com
[toc] | [prev] | [next] | [standalone]
| From | rh <richard_hubbe11@lavabit.com> |
|---|---|
| Date | 2013-04-03 19:59 -0700 |
| Message-ID | <mailman.89.1365044264.3114.python-list@python.org> |
| In reply to | #42698 |
On Wed, 03 Apr 2013 12:41:25 -0700 John Nagle <nagle@animats.com> wrote: > I'm struggling with radio hams who are trying to get my > antique Teletype program running. I hate having to write > instructions like this: Can you package it and make it available via pip? I only know linux so maybe pip doesn't run on windows?? If you packaged via pip then they would only have to do: pip install antique-teletype > > Installation instructions (Windows): > > Download and install Python 2.7 (32-bit) if not already installed. > (Python 2.6 or 2.7 is required; "pyserial" will not work correctly > on older versions, and "feedparser" is not supported in 3.x versions.) > > Install the Python module "setuptools" from the Python Package > Index. (Needed by other installers. Has a Windows installer.) > > Install the Python module "feedparser" from Google Code. > (Unpack ZiP file, run "setup.py install") > > Install the Python module "pyserial" from SourceForge. > (Windows installer, but 32-bit only) > > Install the Python module "pygooglevoice" from Google Code. > (Requires 7Zip to unpack the .tar.gz file. Then "setup.py install") > > Download "BaudotRSS" from SourceForge. (ZIP file, put in your > chosen directory for this program.) > > Run: python baudotrss.py --help > > I'm thinking of switching to Go. > > John Nagle --
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web