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 details)

Uploaded Source

File details

Details for the file collective.recipe.libsvm-0.3.tar.gz.

File metadata

File hashes

Hashes for collective.recipe.libsvm-0.3.tar.gz
Algorithm Hash digest
SHA256 af7560f429138d0b74c733825023ec9d1e1c6614e8465a227728d0e1ff33a6c0
MD5 af544ebb3beaddc7cf4bdaef2a477034
BLAKE2b-256 6828d6d3ae8a326ae02ddb979a5c98f64174050d120a7348036a9efc341860bc

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