[Python-porting] freezing when using future
Tim eichler
tim_eichler at hotmail.com
Tue Jun 30 17:37:45 CEST 2015
I developed some tests that show where the problem are.
The problem is present with cx freeze and py2exe but not with setuptools or distutils.
By including the future module and excluding around 50 sub modules from urllib and a handful from the collections module i was able to get freezing to work.
Is it possible for this to be fixed on the future end or should i see if i can get the guys at cx freeze or py2exe to include my patches?
Kind Regards,
Tim
From: tim_eichler at hotmail.com
To: python-porting at python.org
Date: Thu, 18 Jun 2015 21:16:46 +1000
Subject: [Python-porting] freezing when using future
I am using cx freeze to bundle my python software.
running futurize my code changed from
import urllib2
to
from future import standard_library
standard_library.install_aliases()
import urllib.request, urllib.error, urllib.parse
when freezing on python2 its having problems finding the parent path of urllib.
I couldn't find much on the site in this regards so i'd like to know if there is any documentation in this area.
Otherwise i'll play around and see if i can find a nice workaround.
Kind Regards,
Tim
_______________________________________________
Python-porting mailing list
Python-porting at python.org
https://mail.python.org/mailman/listinfo/python-porting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-porting/attachments/20150701/856c76cf/attachment.html>
More information about the Python-porting
mailing list