Re: Compilation

2019-01-06 Thread Terry Reedy
On 1/6/2019 6:20 PM, Avi Gross wrote: I suspect there is some python tool that can go through a directory structure of python code and produce appropriate byte code files in one sweep. import compileall help(compileall) The Windows installer optionally runs it. It is usually needed if one d

RE: Compilation (was: the python name)

2019-01-06 Thread Avi Gross
Peter, I suspect there is some python tool that can go through a directory structure of python code and produce appropriate byte code files in one sweep. That would not be at run time. And, in any system where the average user does not have write permission on those folders, that would be a good i

Re: Compilation problem with Python < 2.6 and db >= 4.7

2009-07-20 Thread kiorky
Martin v. Löwis a écrit : >> Is there a way to make the bsddb module compile against db>=4.7 for python < >> 2.6 >> (2.4.6, 2.5.4)? > > I don't think so, no. > >> I didn't find something on it. > > If you don't want to use pybsddb either, for fear of incompatible API, > your only choice is to p

Re: Compilation problem with Python < 2.6 and db >= 4.7

2009-07-20 Thread Martin v. Löwis
> Is there a way to make the bsddb module compile against db>=4.7 for python < > 2.6 > (2.4.6, 2.5.4)? I don't think so, no. > I didn't find something on it. If you don't want to use pybsddb either, for fear of incompatible API, your only choice is to port _bsddb.c to the newer db versions. BSD

Re: compilation problem of python on AIX 6.1

2009-07-14 Thread Aahz
In article <51c556a8-7277-474d-821f-190adf155...@f16g2000vbf.googlegroups.com>, Amit wrote: > >THen I decided to compile python 2.5.4 on my AIX box. I downloaded the >python source code from www.python.org and tried to compile on my AIX >both using gcc. > > case $MAKEFLAGS in *-s*) CC='gc