ext_modules = [ Extension("bob.ip.color.version", [ "bob/ip/color/version.cpp", ], bob_packages = bob_packages, version = version, packages = packages, boost_modules = boost_modules, ), Library("bob.ip.color.bob_ip_color", [ "bob/ip/color/cpp/color.cpp", ], version = version, bob_packages = bob_packages, packages = packages, boost_modules = boost_modules, ), Extension("bob.ip.color._library", [ "bob/ip/color/utils.cpp", "bob/ip/color/rgb_to_gray.cpp", "bob/ip/color/rgb_to_yuv.cpp", "bob/ip/color/rgb_to_hsv.cpp", "bob/ip/color/rgb_to_hsl.cpp", "bob/ip/color/main.cpp", ], version = version,
install_requires=build_requires, ext_modules=[ Extension( "bob.sp.version", [ "bob/sp/version.cpp", ], version=version, bob_packages=bob_packages, ), Library( 'bob.sp.bob_sp', [ "bob/sp/cpp/DCT1DNaive.cpp", "bob/sp/cpp/DCT2D.cpp", "bob/sp/cpp/DCT2DNaive.cpp", "bob/sp/cpp/FFT1D.cpp", "bob/sp/cpp/FFT2DNaive.cpp", "bob/sp/cpp/DCT1D.cpp", "bob/sp/cpp/FFT1DNaive.cpp", "bob/sp/cpp/FFT2D.cpp", "bob/sp/cpp/fftpack.c" ], version=version, bob_packages=bob_packages, ), Extension( "bob.sp._library", [ "bob/sp/quantization.cpp", "bob/sp/extrapolate.cpp", "bob/sp/fft1d.cpp", "bob/sp/fft2d.cpp", "bob/sp/ifft1d.cpp", "bob/sp/ifft2d.cpp", "bob/sp/fft.cpp",
Library( "bob.io.base.bob_io_base", [ "bob/io/base/cpp/CodecRegistry.cpp", "bob/io/base/cpp/CSVFile.cpp", "bob/io/base/cpp/File.cpp", "bob/io/base/cpp/HDF5ArrayFile.cpp", "bob/io/base/cpp/HDF5Attribute.cpp", "bob/io/base/cpp/HDF5Dataset.cpp", "bob/io/base/cpp/HDF5File.cpp", "bob/io/base/cpp/HDF5Group.cpp", "bob/io/base/cpp/HDF5Types.cpp", "bob/io/base/cpp/HDF5Utils.cpp", "bob/io/base/cpp/reorder.cpp", "bob/io/base/cpp/T3File.cpp", "bob/io/base/cpp/TensorArrayFile.cpp", "bob/io/base/cpp/TensorFileHeader.cpp", "bob/io/base/cpp/utils.cpp", "bob/io/base/cpp/TensorFile.cpp", "bob/io/base/cpp/array.cpp", "bob/io/base/cpp/array_type.cpp", "bob/io/base/cpp/blitz_array.cpp", ], libraries=libraries, library_dirs=library_dirs, system_include_dirs=system_include_dirs, define_macros=define_macros, version=version, bob_packages=bob_packages, packages=packages, boost_modules=boost_modules, ),
include_package_data=True, zip_safe=False, setup_requires=build_requires, install_requires=build_requires, ext_modules=[ Extension("bob.core.version", [ "bob/core/version.cpp", ], version=version, packages=packages, boost_modules=['system']), Library( "bob.core.bob_core", [ "bob/core/cpp/logging.cpp", ], version=version, packages=packages, boost_modules=['system', 'iostreams', 'filesystem'], ), Extension( "bob.core._convert", [ "bob/core/convert.cpp", ], version=version, packages=packages, ), Extension( "bob.core._logging", [
"bob/learn/mlp/version.cpp", ], bob_packages=bob_packages, version=version, packages=packages, boost_modules=boost_modules, ), Library( "bob.learn.mlp.bob_learn_mlp", [ "bob/learn/mlp/cxx/roll.cpp", "bob/learn/mlp/cxx/machine.cpp", "bob/learn/mlp/cxx/cross_entropy.cpp", "bob/learn/mlp/cxx/square_error.cpp", "bob/learn/mlp/cxx/shuffler.cpp", "bob/learn/mlp/cxx/trainer.cpp", "bob/learn/mlp/cxx/backprop.cpp", "bob/learn/mlp/cxx/rprop.cpp", ], bob_packages=bob_packages, version=version, packages=packages, boost_modules=boost_modules, ), Extension( "bob.learn.mlp._library", [ "bob/learn/mlp/roll.cpp", "bob/learn/mlp/rprop.cpp", "bob/learn/mlp/backprop.cpp", "bob/learn/mlp/trainer.cpp",
# The first extension defines the version of this package and all C++-dependencies. Extension( "bob.example.library.version", # list of files compiled into this extension [ "bob/example/library/version.cpp", ], # additional parameters, see Extension documentation version=version, bob_packages=bob_packages, ), Library( "bob.example.library.bob_example_library", # list of pure C/C++ files compiled into this library [ "bob/example/library/cpp/Function.cpp", ], # additional parameters, see Library documentation version=version, bob_packages=bob_packages, ), # The second extension contains the actual C++ code and the Python bindings Extension( "bob.example.library._library", # list of files compiled into this extension [ # the Python bindings "bob/example/library/main.cpp", ], # additional parameters, see Extension documentation version=version,
ext_modules=[ Extension( "bob.learn.activation.version", [ "bob/learn/activation/version.cpp", ], bob_packages=bob_packages, version=version, packages=packages, boost_modules=boost_modules, ), Library( "bob.learn.activation.bob_learn_activation", [ "bob/learn/activation/cpp/ActivationRegistry.cpp", ], bob_packages=bob_packages, version=version, packages=packages, boost_modules=boost_modules, ), Extension( "bob.learn.activation._library", [ "bob/learn/activation/activation.cpp", "bob/learn/activation/identity.cpp", "bob/learn/activation/linear.cpp", "bob/learn/activation/logistic.cpp", "bob/learn/activation/tanh.cpp", "bob/learn/activation/mult_tanh.cpp", "bob/learn/activation/main.cpp", ],
), Library( "bob.ip.base.bob_ip_base", [ "bob/ip/base/cpp/GeomNorm.cpp", "bob/ip/base/cpp/FaceEyesNorm.cpp", "bob/ip/base/cpp/Affine.cpp", "bob/ip/base/cpp/LBP.cpp", "bob/ip/base/cpp/LBPTop.cpp", "bob/ip/base/cpp/DCTFeatures.cpp", "bob/ip/base/cpp/TanTriggs.cpp", "bob/ip/base/cpp/Gaussian.cpp", "bob/ip/base/cpp/MultiscaleRetinex.cpp", "bob/ip/base/cpp/WeightedGaussian.cpp", "bob/ip/base/cpp/SelfQuotientImage.cpp", "bob/ip/base/cpp/GaussianScaleSpace.cpp", "bob/ip/base/cpp/SIFT.cpp", "bob/ip/base/cpp/HOG.cpp", "bob/ip/base/cpp/GLCM.cpp", "bob/ip/base/cpp/Wiener.cpp", ], packages=packages, boost_modules=boost_modules, bob_packages=bob_packages, system_include_dirs=vl_pkg.library_directories, version=version, library_dirs=vl_pkg.library_directories, libraries=vl_pkg.libraries, define_macros=vl_pkg.macros, ), Extension(
[ "bob/ip/gabor/version.cpp", ], version = version, bob_packages = bob_packages, packages = packages, boost_modules = boost_modules, ), Library("bob.ip.gabor.bob_ip_gabor", [ "bob/ip/gabor/cpp/Wavelet.cpp", "bob/ip/gabor/cpp/Transform.cpp", "bob/ip/gabor/cpp/Jet.cpp", "bob/ip/gabor/cpp/Graph.cpp", "bob/ip/gabor/cpp/Similarity.cpp", "bob/ip/gabor/cpp/JetStatistics.cpp", ], version = version, bob_packages = bob_packages, packages = packages, boost_modules = boost_modules, ), Extension("bob.ip.gabor._library", [ "bob/ip/gabor/wavelet.cpp", "bob/ip/gabor/transform.cpp", "bob/ip/gabor/jet.cpp", "bob/ip/gabor/graph.cpp", "bob/ip/gabor/similarity.cpp", "bob/ip/gabor/jet_statistics.cpp",
system_include_dirs=system_include_dirs, library_dirs=library_dirs, libraries=libraries, define_macros=define_macros, ), Library( "bob.io.image.bob_io_image", [ "bob/io/image/cpp/tiff.cpp", "bob/io/image/cpp/gif.cpp", "bob/io/image/cpp/png.cpp", "bob/io/image/cpp/jpeg.cpp", "bob/io/image/cpp/bmp.cpp", "bob/io/image/cpp/pnmio.cpp", "bob/io/image/cpp/netpbm.cpp", "bob/io/image/cpp/image.cpp", ], packages=packages, boost_modules=boost_modules, bob_packages=bob_packages, version=version, system_include_dirs=system_include_dirs, library_dirs=library_dirs, libraries=libraries, define_macros=define_macros, ), Extension( "bob.io.image._library", [ "bob/io/image/main.cpp", ],
bob_packages = bob_packages, version = version, system_include_dirs = system_include_dirs, define_macros = define_macros, library_dirs = library_dirs, libraries = libraries, ), Library("bob.learn.libsvm.bob_learn_libsvm", [ "bob/learn/libsvm/cpp/file.cpp", "bob/learn/libsvm/cpp/machine.cpp", "bob/learn/libsvm/cpp/trainer.cpp", ], bob_packages = bob_packages, version = version, system_include_dirs = system_include_dirs, define_macros = define_macros, library_dirs = library_dirs, libraries = libraries, packages = packages, boost_modules = boost_modules, ), Extension("bob.learn.libsvm._library", [ "bob/learn/libsvm/utils.cpp", "bob/learn/libsvm/file.cpp", "bob/learn/libsvm/machine.cpp", "bob/learn/libsvm/trainer.cpp", "bob/learn/libsvm/main.cpp",
Library( "bob.learn.em.bob_learn_em", [ "bob/learn/em/cpp/Gaussian.cpp", "bob/learn/em/cpp/GMMMachine.cpp", "bob/learn/em/cpp/GMMStats.cpp", "bob/learn/em/cpp/IVectorMachine.cpp", "bob/learn/em/cpp/KMeansMachine.cpp", "bob/learn/em/cpp/LinearScoring.cpp", "bob/learn/em/cpp/PLDAMachine.cpp", "bob/learn/em/cpp/ZTNorm.cpp", "bob/learn/em/cpp/FABase.cpp", "bob/learn/em/cpp/JFABase.cpp", "bob/learn/em/cpp/ISVBase.cpp", "bob/learn/em/cpp/JFAMachine.cpp", "bob/learn/em/cpp/ISVMachine.cpp", "bob/learn/em/cpp/FABaseTrainer.cpp", "bob/learn/em/cpp/JFATrainer.cpp", "bob/learn/em/cpp/ISVTrainer.cpp", "bob/learn/em/cpp/EMPCATrainer.cpp", "bob/learn/em/cpp/GMMBaseTrainer.cpp", "bob/learn/em/cpp/IVectorTrainer.cpp", "bob/learn/em/cpp/KMeansTrainer.cpp", "bob/learn/em/cpp/MAP_GMMTrainer.cpp", "bob/learn/em/cpp/ML_GMMTrainer.cpp", "bob/learn/em/cpp/PLDATrainer.cpp", ], bob_packages=bob_packages, packages=packages, boost_modules=boost_modules, version=version, ),
install_requires = build_requires, ext_modules = [ Extension("bob.ap.version", [ "bob/ap/version.cpp", ], version = version, bob_packages = bob_packages, ), Library("bob.ap.bob_ap", [ "bob/ap/cpp/Energy.cpp", "bob/ap/cpp/FrameExtractor.cpp", "bob/ap/cpp/Spectrogram.cpp", "bob/ap/cpp/Ceps.cpp", ], version = version, bob_packages = bob_packages, ), Extension("bob.ap._library", [ "bob/ap/energy.cpp", "bob/ap/frame_extractor.cpp", "bob/ap/spectrogram.cpp", "bob/ap/ceps.cpp", "bob/ap/main.cpp", ], version = version, bob_packages = bob_packages,