[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: if python version not accepted ...
On Fri, 01 Jan 2010 01:26:20 +0900, Jeremy C. Reed
py-setuptools is not ported to Python 3 (for example it uses execfile).
(I don't know if that is the latest news.)
So I added to its Makefile:
I have installed:
But building it with PYTHON_VERSION_DEFAULT=31 attempted to install
python26. (Without PYTHON_VERSION_DEFAULT=31 set it will use python25.)
The /pyversion.mk comments say default is 25 but code (non-Darwin) shows
it is really 26.
But it does know to use 25:
t1:py-setuptools$ make show-var VARNAME=PYTHON_VERSION_DEFAULT
If I build some other py- packages it defaults to 25, like I expect.
Shouldn't it fail when PYTHON_VERSION_DEFAULT=31 and 31 is incompatible?
If not fail, then shouldn't it use 25 since that is what I have?
I also changed the Makefile to instead use:
PYTHON_VERSIONS_ACCEPTED= 26 25 24
And again with PYTHON_VERSION_DEFAULT=31 it attempted to install
Shouldn't it just use the python25 as if I didn't use the
PYTHON_VERSION_ACCEPTED is appropriate order, not just descending sequence?
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost
Main Index |
Thread Index |