[Pythonmac-SIG] py2app testing modulegraph
engelbert gruber
engelbert.gruber at gmail.com
Wed Jul 21 09:08:18 CEST 2010
hi
i am trying to setup a modulegraph test that triggers missing import
for ifilter, imap
some hurdles
* i am not at a mac currently.
a good thing, this results in cross platform tests
* altgraph must be installed because pkg_resource require does not
find it otherwise
this is not so good, as i prefer not to install things but just
copy/symlink especially
while developing
* modulegraph.util uses ::
if sys.version_info[0] != 2:
import re
cookie_re = re.compile(b"coding[:=]\s*([-\w.]+)")
it is correct, that this wont be executed for python versions 2.*,
but it will be compiled and the syntax ``b"something"`` works
only from 2.6 up
cheers
More information about the Pythonmac-SIG
mailing list