-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
29 lines (27 loc) · 1.04 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from distutils.core import setup, Extension
import sys, os
version = file('VERSION.txt').read().strip()
setup(name='pyleargist',
version=version,
description="GIST Image descriptor for scene recognition",
long_description=file('README.txt').read(),
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords=('image-processing computer-vision scene-recognition'),
author='Olivier Grisel',
author_email='olivier.grisel@ensta.org',
url='http://www.bitbucket.org/ogrisel/pyleargist/src/tip/',
license='GPL',
package_dir={'': 'src'},
packages=['leargist'],
ext_modules=[
Extension(
'leargist._gist', [
'lear_gist/standalone_image.c',
'lear_gist/gist.c',
],
include_dirs=['/usr/local/include'], # Homebrew installed FFTW
libraries=['m', 'fftw3f'],
extra_compile_args=['-DUSE_GIST', '-DSTANDALONE_GIST'],
),
],
)