Re: OpenOpt install

2007-12-18 Thread Matthieu Brucher
Hi, My solution was the correct way to go, IIRC, only a few changes were to be done so that those files were detected correctly (I think there were some __init__.py files that were not present this may have to do with the fact that you add a lot of additional paths in sys.path when you load

Re: OpenOpt install

2007-12-18 Thread Robert Kern
dmitrey wrote: When earlier OpenOpt versions had been installed there were no compiled pyc-files (in destination directory). I called to mailing list but no obvious receipt had been achieved. Matthieu had done some changes but it yielded other mistakes (no some py-files detected or kind of),

Re: OpenOpt install

2007-12-18 Thread Matthieu Brucher
OK, in fact distutils can compile every python script without a problem as long as it is in a package. For instance every solver is in the solvers folder, but there is no __init__.py file there, so distutils cannot compile the scripts that are in the subfolders, it is logical. What you have to do

Re: OpenOpt install

2007-12-18 Thread dmitrey
thank you, I'll try to fix the issue when I'll have more time, I'm short of the one for now because of some other urgent work. D. On Dec 18, 10:53 am, Robert Kern [EMAIL PROTECTED] wrote: dmitrey wrote: When earlier OpenOpt versions had been installed there were no compiled pyc-files (in

Re: OpenOpt install

2007-12-17 Thread dmitrey
Use python setup.py install Regards, D On Dec 16, 2:27 pm, Neal Becker [EMAIL PROTECTED] wrote: What do I need to do? I have numpy, scipy (Fedora F8) cdopenopt/ [EMAIL PROTECTED] python setup.py build running build running config_cc unifing config_cc, config, build_clib, build_ext,

Re: OpenOpt install

2007-12-17 Thread Robert Kern
dmitrey wrote: Use python setup.py install People should be able to run the distutils commands independently. What are you trying to achieve with this block of code that follows the setup() call? new_name = 'tmp55' os.rename('scikits', new_name) newPath = [] for directory in

Re: OpenOpt install

2007-12-17 Thread dmitrey
When earlier OpenOpt versions had been installed there were no compiled pyc-files (in destination directory). I called to mailing list but no obvious receipt had been achieved. Matthieu had done some changes but it yielded other mistakes (no some py-files detected or kind of), so I had removed

OpenOpt install

2007-12-16 Thread Neal Becker
What do I need to do? I have numpy, scipy (Fedora F8) cd openopt/ [EMAIL PROTECTED] openopt]$ python setup.py build running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib,