[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

xreadlines/python2 (?) required for gen-make.py

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2002-10-29 17:53:01 CET

dlr@despot:trunk$ head -1 gen-make.py
#!/usr/bin/env python

gen-make.py is attempting to import the xreadlines modules. However,
that module is not included by default with Python 1.5 (what's invoked
on RedHat 7.3 when you type `python`).

dlr@despot:trunk$ ./gen-make.py build.conf
Traceback (innermost last):
  File "./gen-make.py", line 12, in ?
    import gen_make
  File "build/gen_make.py", line 7, in ?
    import gen_base
  File "build/gen_base.py", line 9, in ?
    import getversion
  File "build/getversion.py", line 7, in ?
    from xreadlines import xreadlines
ImportError: No module named xreadlines

gen-make.py runs just fine with python2:

dlr@despot:trunk$ python2 ./gen-make.py build.conf

python2 ships with xreadlines. Is python2 now required to run
gen-make.py, or just xreadlines?

-- 
Daniel Rall <dlr@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 29 17:53:52 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.