[SciPy-dev] installing openopt

Johann Cohen-Tanugi cohen@slac.stanford....
Tue Sep 23 01:15:43 CDT 2008


is there anything special I should do to force building it when 
installing numpy? I can remove the whole directory and start numpy 
install from scratch..... but usually that is what I do anyway.
best,
J

Matthieu Brucher wrote:
> It should have. It's what setuptools is using to know what is already
> installed. The fact that it is not present on your system forces
> setuptools to install a new version.
>
> Matthieu
>
> 2008/9/22 Johann Cohen-Tanugi <cohen@slac.stanford.edu>:
>   
>> no problem. No, my numpy build did not create a numpy  egg-info
>> directory in site-package. I do not think tht it ever did....
>> Johann
>>
>> Matthieu Brucher wrote:
>>     
>>> Sorry, it's not a pth file, it's the egg-info file or folder for the
>>> development version. Is it in your site-packages folder ?
>>>
>>> Matthieu
>>>
>>> 2008/9/22 Johann Cohen-Tanugi <cohen@slac.stanford.edu>:
>>>
>>>       
>>>> I compiled it from svn sources, using python setup.py .... No there is
>>>> no pth file in there...
>>>> Johann
>>>>
>>>> Matthieu Brucher wrote:
>>>>
>>>>         
>>>>> Hi,
>>>>>
>>>>> How did you install numpy ? Is there a numpy.something.pth in your
>>>>> site-package folder ?
>>>>>
>>>>> Matthieu
>>>>>
>>>>> 2008/9/22 Johann Cohen-Tanugi <cohen@slac.stanford.edu>:
>>>>>
>>>>>
>>>>>           
>>>>>> ok, no idea.... I get that
>>>>>> Installed
>>>>>> /usr/lib/python2.5/site-packages/scikits.openopt-0.19.dev-py2.5.egg
>>>>>> Processing dependencies for scikits.openopt==0.19.dev
>>>>>> Searching for numpy
>>>>>> Reading http://pypi.python.org/simple/numpy/
>>>>>> Reading http://numeric.scipy.org
>>>>>> Reading
>>>>>> http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
>>>>>> Reading http://numpy.scipy.org
>>>>>> Best match: numpy 1.1.1
>>>>>> Downloading
>>>>>> http://downloads.sourceforge.net/numpy/numpy-1.1.1.tar.gz?modtime=1217627080&big_mirror=0
>>>>>>
>>>>>> and still numpy is in my path and perfectly imported when I start python....
>>>>>> If someone has a hint out there...
>>>>>> Johann
>>>>>>
>>>>>> dmitrey wrote:
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> Johann Cohen-Tanugi wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> hi there,
>>>>>>>> how do I switch off installation of numpy 1.1.1 on my linux box? I have
>>>>>>>> numpy '1.3.0.dev5834' but it does not seem to be recognized by openopt
>>>>>>>> when I  launch python setup.py install
>>>>>>>> thanks,
>>>>>>>> Johann
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> I didn't put any numpy version requirements into setup.py file. If the
>>>>>>> problem still somehow exist it's better to search an answer in
>>>>>>> setuptools mail list.
>>>>>>>
>>>>>>> Also, to avoid the bug, you could just copy openopt/scikits/* files to
>>>>>>> .../site-packages/scikits directory (latter should be created)
>>>>>>>
>>>>>>> Some minuties ago I have update numpy to latest 1.3.0.dev5858, and OO
>>>>>>> install works ok:
>>>>>>> ---------------------
>>>>>>> ...
>>>>>>> byte-compiling build/bdist.linux-x86_64/egg/scikits/__init__.py to
>>>>>>> __init__.pyc
>>>>>>> creating build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/PKG-INFO ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/SOURCES.txt ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/dependency_links.txt ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/namespace_packages.txt ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/requires.txt ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/top_level.txt ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> copying scikits.openopt.egg-info/zip-safe ->
>>>>>>> build/bdist.linux-x86_64/egg/EGG-INFO
>>>>>>> creating dist
>>>>>>> creating 'dist/scikits.openopt-0.19.dev-py2.5.egg' and adding
>>>>>>> 'build/bdist.linux-x86_64/egg' to it
>>>>>>> removing 'build/bdist.linux-x86_64/egg' (and everything under it)
>>>>>>> Processing scikits.openopt-0.19.dev-py2.5.egg
>>>>>>> Copying scikits.openopt-0.19.dev-py2.5.egg to
>>>>>>> /usr/lib/python2.5/site-packages
>>>>>>> Removing scikits.openopt 0.19.dev from easy-install.pth file
>>>>>>> Adding scikits.openopt 0.19.dev to easy-install.pth file
>>>>>>>
>>>>>>> Installed
>>>>>>> /usr/lib/python2.5/site-packages/scikits.openopt-0.19.dev-py2.5.egg
>>>>>>> Processing dependencies for scikits.openopt==0.19.dev
>>>>>>> Searching for numpy==1.3.0.dev5858
>>>>>>> Best match: numpy 1.3.0.dev5858
>>>>>>> Adding numpy 1.3.0.dev5858 to easy-install.pth file
>>>>>>>
>>>>>>> Using /usr/lib/python2.5/site-packages
>>>>>>> Finished processing dependencies for scikits.openopt==0.19.dev
>>>>>>>
>>>>>>> -------------------------------
>>>>>>> Regards, D.
>>>>>>> _______________________________________________
>>>>>>> Scipy-dev mailing list
>>>>>>> Scipy-dev@scipy.org
>>>>>>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> Scipy-dev mailing list
>>>>>> Scipy-dev@scipy.org
>>>>>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>
>>>>>           
>>>> _______________________________________________
>>>> Scipy-dev mailing list
>>>> Scipy-dev@scipy.org
>>>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev@scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>
>>     
>
>
>
>   


More information about the Scipy-dev mailing list