On 09.04.2013 10:33, Paul A. Giannaros wrote:
> On Wed, Mar 6, 2013 at 9:52 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>>> On 06.03.2013 10:50, Paul A. Giannaros wrote:
>>> On Tue, Mar 5, 2013 at 7:40 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>>> On 05.03.2013 19:45, Paul A. Giannaros wrote:
>>>>> CPython >= 2.6 lets you run a script __main__.py within a zip archive
>>>>> foo.zip with:
>>>>>>>>>> $ python foo.zip
>>>>>>>>>> This doesn't work with pyrun:
>>>>>>>>>> $ pyrun foo.zip
>>>>> ...
>>>>> SyntaxError: Non-ASCII character '\xf1' in file foo.zip on line 2,
>>>>> but no encoding declared; see http://www.python.org/peps/pep-0263.html>>>>> for details
>>>>>>>>>>>>>>> It's a useful feature (it's how we deploy code in the company that I
>>>>> work). Would you please consider adding it?
>>>>>>>> I'll open a ticket for this. Didn't even know this feature existed :-)
>>>>>> Thanks! Is there somewhere where I can follow its status or is it an
>>> internal tracker?
>>>> This is an internal tracker, but I can add a note to update you
>> by email.
>>>>> Thanks. Is this feature likely to be included in a near release?
Yes. We are working on adding it for the Python 2.7 version of
pyrun. Python 2.6 and 2.5 don't have the necessary support in
the runpy module.
pyrun2.7 will then be able to directly run directories and ZIP files
with __main__.py file.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Apr 09 2013)
>>> Python Projects, Consulting and Support ... http://www.egenix.com/>>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/________________________________________________________________________
2013-04-09: Released mxODBC.Connect 2.0.3 ... http://egenix.com/go42
2013-04-02: Released mxODBC Zope DA 2.1.1 ... http://egenix.com/go41
2013-04-10: Python Meeting Duesseldorf ... tomorrow
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/