mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
25 lines
1 KiB
Ruby
25 lines
1 KiB
Ruby
# -*- mode: ruby; coding: utf-8 -*-
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require 'opencv/version'
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "ruby-opencv"
|
|
spec.version = Cv::VERSION
|
|
spec.authors = ["ser1zw"]
|
|
spec.email = ["azariahsawtikes@gmail.com"]
|
|
|
|
spec.summary = "OpenCV wrapper for Ruby"
|
|
spec.description = "ruby-opencv is a wrapper of OpenCV for Ruby. It helps you to write computer vision programs (e.g. detecting faces from pictures) with Ruby."
|
|
spec.homepage = "https://github.com/ruby-opencv/ruby-opencv"
|
|
spec.license = "MIT"
|
|
spec.extensions = ["ext/opencv/extconf.rb"]
|
|
|
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
spec.bindir = "exe"
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_development_dependency "bundler", "~> 1.11"
|
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
end
|