Skip to main content

Recipe to compile libsvm with python in a buildout

Project description

Introduction
============

This recipe brings libsvm to your buildout


=======
Example
=======

>>> write('buildout.cfg',
... """
... [buildout]
... parts = libsvm
...
... [libsvm]
... recipe = collective.recipe.libsvm
... """)

If we run the buildout it returns::

>>> print system(buildout)
Installing libsvm.
libsvm: Downloading ...
libsvm: Unpacking tarball
libsvm: Compile svm
...
libsvm: Creating libsvm egg
<BLANKLINE>

>>> ls(sample_buildout, 'parts')
d libsvm

>>> ls(sample_buildout, 'eggs')
- setuptools-0.6c9-py2.4.egg
- svm.egg-link
d zc.buildout-1.1.1-py2.4.egg

>>> print system(buildout)
Updating libsvm.
<BLANKLINE>


Changelog
=========

0.1 - Unreleased
----------------

* Initial release

0.2 - Unreleased
----------------

* Normalize python-headers-directory so we can use paths relative to
the python used by buildout like::

python-headers-directory = /usr/local/python/2.4.5/bin/python/../../include/python2.4

0.3 - Unreleased
----------------

* Use canonical location of the libsvm distribution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.recipe.libsvm-0.3.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page