[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/buildout.py Added Jython support.
Christian Theune
ct at gocept.com
Thu Aug 28 03:22:03 EDT 2008
On Wed, 2008-08-27 at 18:44 -0400, Georgy Berdyshev wrote:
> Log message for revision 90480:
> Added Jython support.
>
> Signed-off-by: Georgy Berdyshev - ?\208?\147?\208?\181?\208?\190?\209?\128?\208?\179?\208?\184?\208?\185 ?\208?\145?\208?\181?\209?\128?\208?\180?\209?\139?\209?\136?\208?\181?\208?\178 <codingmaster at gmail.com>
>
>
> Changed:
> U zc.buildout/trunk/src/zc/buildout/buildout.py
>
> -=-
> Modified: zc.buildout/trunk/src/zc/buildout/buildout.py
> ===================================================================
> --- zc.buildout/trunk/src/zc/buildout/buildout.py 2008-08-27 22:44:48 UTC (rev 90479)
> +++ zc.buildout/trunk/src/zc/buildout/buildout.py 2008-08-27 22:44:52 UTC (rev 90480)
> @@ -43,6 +43,11 @@
>
> _isurl = re.compile('([a-zA-Z0-9+.-]+)://').match
>
> +is_jython = sys.platform.startswith('java')
> +
> +if is_jython:
> + import subprocess
Humm. Isn't this more of a Python 2.3 vs 2.4 thing instead of Jython? I
think it's not gonna be maintainble in the long run, if "is_jython" pops
up everywhere.
--
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/checkins/attachments/20080828/87961c3e/attachment.bin
More information about the Checkins
mailing list