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.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.recipe.libsvm-0.3.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page