Re: [Zope-dev] Windoz file naming

2003-10-30 Thread alan milligan
OK - thank you both for your help.

It's time for:

 perl -pi e 's/Currency/ZCurrency;g' `find . -name *.py`
;)


From: Anthony Baxter [EMAIL PROTECTED]
Reply-To: Anthony Baxter [EMAIL PROTECTED]
To: alan milligan [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Windoz file naming Date: Thu, 30 Oct 2003 17:24:39 
+1100
MIME-Version: 1.0
Received: from crown.off.ekorp.com ([203.63.137.225]) by 
mc4-f31.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 29 Oct 2003 
22:27:28 -0800
Received: from crown.off.ekorp.com (localhost [127.0.0.1])by 
crown.off.ekorp.com (8.12.10/8.12.10) with ESMTP id h9U6RPwD026096;Thu, 30 
Oct 2003 06:27:25 GMT
Received: (from [EMAIL PROTECTED])by crown.off.ekorp.com 
(8.12.10/8.12.10/Submit) id h9U6RPP5026055;Thu, 30 Oct 2003 06:27:25 GMT
Received: from bonanza.off.ekorp.com(192.168.41.16), claiming to be 
localhost.localdomain via SMTP by mx1.ekorp.com, id smtpdAAAiPaO3Y; Thu 
Oct 30 06:27:18 2003
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])by 
localhost.localdomain (8.12.10/8.12.8) with ESMTP id h9U6Od9Q031000;Thu, 30 
Oct 2003 17:24:39 +1100
Received: from arbhome.com.au ([EMAIL PROTECTED])by localhost.localdomain 
(8.12.10/8.12.8/Submit) with ESMTP id h9U6OdVd030996;Thu, 30 Oct 2003 
17:24:39 +1100
X-Message-Info: JGTYoYF78jFFkSPI26F/WteBIBm95Syi
Message-Id: [EMAIL PROTECTED]
X-Authentication-Warning: localhost.localdomain: anthony owned process 
doing -bs
X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4
Organization: dis- X-Complaints-To: my cat In-Reply-To: 
[EMAIL PROTECTED] Return-Path: 
[EMAIL PROTECTED]
X-OriginalArrivalTime: 30 Oct 2003 06:27:29.0044 (UTC) 
FILETIME=[E46E5540:01C39EAE]

 alan milligan wrote
 Guys,

 I've just run into a problem and wondered if there was an elegant
 resolution.

 My BastionBanking package contains:

   currency.py - pure python
   Currency.py - Zope derivation
The typical approach in Python is to have, e.g. Tkinter, and _tkinter.

But if it's a zope derivation of currency, why not call it zcurrency?

_
Find your perfect match @  http://personals.xtramsn.co.nz   with XtraMSN 
Personals!

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Windoz file naming

2003-10-29 Thread alan milligan
Guys,

I've just run into a problem and wondered if there was an elegant 
resolution.

My BastionBanking package contains:

 currency.py - pure python
 Currency.py - Zope derivation
The idea is that using the setup.py script, you can load currency.py into 
your Python modules and use it outside Zope if you wish.

However, under Windoz, it doesn't recognise the different file names and 
wont allow them to both reside in the same directory!

I had intended to use this technique widely to have a single distribution 
stream for both pure Python and Zope-wrapped modules.

TIA

Alan

_
Surf the net and talk on the phone with Xtra Jetstream @  
http://www.xtra.co.nz/products/0,,5803,00.html !

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Windoz file naming

2003-10-29 Thread Sergey Volobuev
Is
currency.py - pure python 
ZCurrency.py - Zope derivation

elegant enough?

(also think that sometimes you will need third file, say, for Zope3 - 
your method will fail. )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Windoz file naming

2003-10-29 Thread Anthony Baxter

 alan milligan wrote
 Guys,
 
 I've just run into a problem and wondered if there was an elegant 
 resolution.
 
 My BastionBanking package contains:
 
   currency.py - pure python
   Currency.py - Zope derivation

The typical approach in Python is to have, e.g. Tkinter, and _tkinter.

But if it's a zope derivation of currency, why not call it zcurrency?


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )