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

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

File details

Details for the file collective.recipe.libsvm-0.2dev-r73442.tar.gz.

File metadata

File hashes

Hashes for collective.recipe.libsvm-0.2dev-r73442.tar.gz
Algorithm Hash digest
SHA256 d5685b43887f2d079e8dc184892c68837caa3fd48ccf36e8a355b140828272de
MD5 ca4552c5bae3a7188860edd18b54d98a
BLAKE2b-256 4cab78e255e00235c70803eebd309755d79c8f432662aee5731db7dc92aea047

See more details on using hashes here.

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