Dipole Consulting SPRL

Debian python package for lp-solve 5.5.0.10 PDF Print E-mail

I've automated the installation of the python interface for lp-solve by integrating it in a non-official Debian package.

 

Usage  

The binary deb file is available in the Downloads section of the website : python-lpsolve-5.5-1_i386.deb.

 

The file is now also available on Debian mentors : http://mentors.debian.net/debian/pool/main/p/python-lpsolve/ .

 

The source of the package are available in our svn repository : http://www.itae.be/svn/code/python-lpsolve-5.5 

 

After installation, run it like this :

did@itae:~$python
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lpsolve55 import *
>>> lpsolve()
lpsolve  Python Interface version 5.5.0.5
using lpsolve version 5.5.0.10

Usage: [ret1, ret2, ...] = lpsolve('functionname', arg1, arg2, ...)
>>>

 

Packaging 

I've packaged this using cdbs and python-support. The first patch applied updates the library and include paths of the setup.py file. The second patch adds the runtime_library_dirs into setup.py, so that it can dynamically link to the needed shared libraries.

The package is not perfectly done. It still needs some tuning for the library problem and some commens in the README, etc. 

Last Updated ( mardi, 10 avril 2007 )
 
< Prev   Next >
Main Menu
Home
Services
Products
References
Technical
Jobs
Downloads
Links
Contact Us
Login Form





Lost Password?
No account yet? Register
Newsflash
The JWaveLib 1.1.0 has been released on the 31th of July. A heavy refactoring work has been done on the existing code base to improve the use of the JWavelib by the different tools and products build on top of it (JWaveLib for eWON , WaveSniffer ).