Sha256: 25e0a635e13f440cedec28f9bd1552e9e2195d62a9642b71fa7b8f661ed4a918

Contents?: true

Size: 1005 Bytes

Versions: 27

Compression:

Stored size: 1005 Bytes

Contents

require 'opener/build-tools'

include Opener::BuildTools::Requirements
include Opener::BuildTools::Python
include Opener::BuildTools::Files

# Directory where packages will be installed to.
PYTHON_SITE_PACKAGES = File.expand_path(
  '../../../core/site-packages',
  __FILE__
)

# Directory containing the temporary files.
TMP_DIRECTORY = File.expand_path('../../../tmp', __FILE__)

# Path to the pip requirements file used to install requirements before
# packaging the Gem.
PRE_BUILD_REQUIREMENTS = File.expand_path(
  '../../../pre_build_requirements.txt',
  __FILE__
)

# Path to the pip requirements file used to install requirements upon Gem
# installation.
PRE_INSTALL_REQUIREMENTS = File.expand_path(
  '../../../pre_install_requirements.txt',
  __FILE__
)

##
# Verifies the requirements to install thi Gem.
#
def verify_requirements
  require_executable('python')
  require_version('python', python_version, '2.6.0')
  require_executable('pip')
  require_version('pip', pip_version, '1.3.1')
end

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
opener-property-tagger-2.2.5 ext/hack/support.rb
opener-tree-tagger-3.0.3 ext/hack/support.rb
opener-property-tagger-2.2.4 ext/hack/support.rb
opener-polarity-tagger-2.3.1 ext/hack/support.rb
opener-tree-tagger-3.0.2 ext/hack/support.rb
opener-property-tagger-2.2.3 ext/hack/support.rb
opener-polarity-tagger-2.2.4 ext/hack/support.rb
opener-polarity-tagger-2.2.3 ext/hack/support.rb
opener-property-tagger-2.2.2 ext/hack/support.rb
opener-property-tagger-2.2.1 ext/hack/support.rb
opener-polarity-tagger-2.2.2 ext/hack/support.rb
opener-polarity-tagger-2.2.1 ext/hack/support.rb
opener-polarity-tagger-2.2.0 ext/hack/support.rb
opener-property-tagger-2.2.0 ext/hack/support.rb
opener-tree-tagger-3.0.1 ext/hack/support.rb
opener-kaf-naf-parser-1.0.3 ext/hack/support.rb
opener-polarity-tagger-2.1.3 ext/hack/support.rb
opener-property-tagger-2.1.1 ext/hack/support.rb
opener-tree-tagger-2.0.2 ext/hack/support.rb
opener-coreference-base-2.0.2 ext/hack/support.rb