Fwd: Where to share a script / executables (again)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Where to share a script / executables (again)

Catherine Devlin
Hi!  I've just created my first IronPython script - a little utility
for conveniently cleaning the garbage out of your PATH and related
environment variables.

I posted it in my blog at
http://catherinedevlin.blogspot.com/2006/01/cleanpathpy-ironpython-utility.html

Anyway, I'd like to share it somewhere publicly, but I really don't
know where a little item like this should go.  It's too long to be
trivial, but at 119 lines, but too small (119 lines) to be considered
a "project" for SourceForge or whatnot.  And do we have a special
place for sharing IronPython scripts?  I don't see any IronPython
projects at SourceForge... is there a story behind that?

Can anyone suggest a good place to share scripts like this?

Also, for the sake of the unwashed masses without IronPython, I'd like
to generate an executable .exe.  I can't find instructions on how to
do that, though.  Running my script with ironpythonconsole
automatically generates an .exe, but running that just gives "... is
not a valid Win32 application."  (Greg Chapman asked about this on
Jan. 5, too, but I didn't see him getting an answer.)  Is there any
more information on generating free-standing executables?

Thanks very much!
--
- Catherine
http://catherinedevlin.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Where to share a script / executables (again)

Dino Viehland-3
I don't have an immediate answer for you on sharing scripts but our next beta release (due real, real soon now) will support running the generated EXEs.  If your test imports any modules written in Python you'll still need to have those around and on your sys.path, but otherwise this will work.

Also, IronPython does also include a compiler that can generate a set of scripts into a single stand alone EXE, but at this time we haven't exposed this functionality via the command line yet (and therefore you'd need to write your own front end for it).  You can of course access this functionality from Python code with:

from IronPython.Hosting import PythonCompiler

which is how we currently test it.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Catherine Devlin
Sent: Wednesday, January 25, 2006 11:14 AM
To: [hidden email]
Subject: [IronPython] Fwd: Where to share a script / executables (again)

Hi!  I've just created my first IronPython script - a little utility
for conveniently cleaning the garbage out of your PATH and related
environment variables.

I posted it in my blog at
http://catherinedevlin.blogspot.com/2006/01/cleanpathpy-ironpython-utility.html

Anyway, I'd like to share it somewhere publicly, but I really don't
know where a little item like this should go.  It's too long to be
trivial, but at 119 lines, but too small (119 lines) to be considered
a "project" for SourceForge or whatnot.  And do we have a special
place for sharing IronPython scripts?  I don't see any IronPython
projects at SourceForge... is there a story behind that?

Can anyone suggest a good place to share scripts like this?

Also, for the sake of the unwashed masses without IronPython, I'd like
to generate an executable .exe.  I can't find instructions on how to
do that, though.  Running my script with ironpythonconsole
automatically generates an .exe, but running that just gives "... is
not a valid Win32 application."  (Greg Chapman asked about this on
Jan. 5, too, but I didn't see him getting an answer.)  Is there any
more information on generating free-standing executables?

Thanks very much!
--
- Catherine
http://catherinedevlin.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Where to share a script / executables (again)

Catherine Devlin
Hi, Dino!  Thank you!  I got the Beta 2, remembered (after a fumble)
to copy IronPython.dll into the directory with my source, ran
IronPythonConsole cleanPath.py, and got a perfectly working
executable.  Hooray!

As for where to share it, I took a look at the GotDotNet "User
Samples" area.  I tried to post there, but under "languages", they
have no checkbox for IronPython.  I submitted this as feedback to
GotDotNet, and they replied that they plan to add IronPython as an
option soon.  Another hooray!  Though, since they didn't define
"soon",. I do wish I knew a place to post in the meantime.

On 1/25/06, Dino Viehland <[hidden email]> wrote:
> I don't have an immediate answer for you on sharing scripts but our next beta release (due real, real soon now) will support running the generated EXEs.  If your test imports any modules written in Python you'll still need to have those around and on your sys.path, but otherwise this will work.

--
- Catherine
http://catherinedevlin.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com