Call For Help! I need Windows/Python developers!

"R. Tyler Ballance" <[email protected]> Sun, 21 Jun 2009 17:45:18 -0700
Newsgroups gmane.comp.python.cheetah
Message-ID <20090622004518.GA1922@starfruit>
If you're running Cheetah on Windows, then you likely already know that
it is currently (unfortunately) treated as a second class citizen
insofar that unless you grab a pre-compiled version of the C-NameMapper,
you're relegated to using the slower Python version of the NameMapper.

In addition to this, I've been experimenting in the "performance" branch
(http://github.com/rtyler/cheetah/tree/performance) with rewriting other
portions of Cheetah in C (this weekend I toyed with porting
src/Utils/VerifyType.py to C, cutting ~6-10% off dynamic compilation).

I'd like to get Cheetah's C code to a state that it can execute properly
on top of Windows so Windows developers can gain all the benefits of
the C-based code that Linux and Mac OS X users can.


I'm not sure what will be needed to compile C on Windows (it's been ages
since I've developed anything lower than C# on Windows) but I'm assuming
a version of Visual Studio (the free edition should work) will be
needed. If you look at line 41 of SetupConfig.py, you can disable the:
	if os.name == 'posix':
conditional in order to have setuptools *try* to compile the C
extensions.

Past this I'm not sure what else is needed, if you join #cheetah on
Freenode, I'd love to collaborate with somebody to get this set up
properly. 


If we can get the NameMapper compiling properly, then new Cheetah
releases can be pushed out as installers for Windows to make sure that
Cheetah users on Windows will get the latest and greatest without
needing to run the compiler themselves.


Any takers? :)

Cheers

-R. Tyler Ballance
Slide, Inc.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAko+1B4ACgkQFCbH3D9R4W/8tACgnHZN98t/yI8mWNs2vsIYYek2
YtEAn064pvDARJwZ2CQ9HlxDoy+KW1pV
=1B8E
-----END PGP SIGNATURE-----