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.

Files for collective.recipe.libsvm, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size collective.recipe.libsvm-0.3.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page