Ticket #55 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Support for CLY on Windows?

Reported by: catherine.devlin@… Owned by: athomas
Priority: minor Component: cly
Severity: normal Keywords: windows binary
Cc:

Description

Is there any prospect for releasing a Windows binary distribution of cly?

I wasn't able to get it working on Windows from source. Among the problems, I believe, are

(1) without a Windows binary distribution, attempting setup.py install on any Windows machine without Visual Studio 2003 wouldn't work. I tried to resort to mingw32, but had no luck there.

(2) no 'readline' module for Windows (there is a 'pyreadline' in the Cheese Shop that may help with this, but that didn't seem to fix it.)

There may be more - I'm not very good with compiling.

I'm working on an extension of the standard library 'cmd' module. cly looks much better, but many of my target users are on Windows, so if they can't *easily* install cly, then I can't base a product on it.

Thanks!

Attachments

cly-1.0.win32.exe (85.9 KB) - added by athomas 2 years ago.
Windows build of CLY 1.0

Change History

Changed 2 years ago by athomas

  • status changed from new to assigned

Hi Catherine,

I haven't got a Windows Python installation, but I'll install it this week and take a look.

Changed 2 years ago by athomas

  • summary changed from Windows? to Support for CLY on Windows?

After a bit of investigation it seems the readline situation on Windows is pretty dire. PyReadline looks the most promising in that it's possible, by commenting out all references to cly.rlext, to make cly work with this module.

The downsides are that dynamic help via the ? key doesn't work, the module requires ctypes, and there's no "real" release of it yet.

It's clear I need to refactor readline support out of cly.interact anyway, so I'll try and get Windows support working while I'm at it.

Changed 2 years ago by athomas

Please try latest trunk. It should build fine from source on Windows and requires PyReadline (which in turn requires ctypes). If it works for you I'll release a new version and build Windows distributions of the package.

Changed 2 years ago by athomas

Windows build of CLY 1.0

Changed 2 years ago by athomas

A few more cleanups: I've attached an executable package, plus cly and all dependencies can now be successfully easy_installed from source. Please test and let me know how it goes.

Changed 2 years ago by athomas

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r492.

Add/Change #55 (Support for CLY on Windows?)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.