Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

bdist_esky not compatble with python 2.5 #1

Closed
norbs opened this issue Dec 2, 2010 · 1 comment
Closed

bdist_esky not compatble with python 2.5 #1

norbs opened this issue Dec 2, 2010 · 1 comment

Comments

@norbs
Copy link

norbs commented Dec 2, 2010

When running : python setup_esky.py bdist_esky

python setup_esky.py bdist_esky
C:\Python25\lib\site-packages\esky\bdist_esky\pypyc.py:61: Warning: 'with' will
become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "setup_esky.py", line 1, in
from esky import bdist_esky
File "C:\Python25\Lib\site-packages\esky\bdist_esky__init__.py", line 43, in

from esky.bdist_esky import pypyc
File "C:\Python25\lib\site-packages\esky\bdist_esky\pypyc.py", line 61
with open(str(cfile),"r+b") as f:

Using from future import with_statement at the beginning of pypyc.py solves this for me

@cloudmatrix
Copy link
Collaborator

thanks, I've fixed this in my (rfk) trunk and will make a patch release soon

prabhuramachandran pushed a commit to prabhuramachandran/esky that referenced this issue Jun 18, 2013
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant