Top Level Namespace

Includes:
Opener::BuildTools::Files, Opener::BuildTools::Python, Opener::BuildTools::Requirements

Defined Under Namespace

Modules: Opener

Constant Summary collapse

PYTHON_SITE_PACKAGES =

Directory where packages will be installed to.

File.expand_path(
  '../../../core/site-packages',
  __FILE__
)
TMP_DIRECTORY =

Directory containing the temporary files.

File.expand_path('../../../tmp', __FILE__)
PRE_BUILD_REQUIREMENTS =

Path to the pip requirements file used to install requirements before packaging the Gem.

File.expand_path(
  '../../../pre_build_requirements.txt',
  __FILE__
)
PRE_INSTALL_REQUIREMENTS =

Path to the pip requirements file used to install requirements upon Gem installation.

File.expand_path(
  '../../../pre_install_requirements.txt',
  __FILE__
)

Instance Method Summary collapse

Instance Method Details

#verify_requirementsObject

Verifies the requirements to install thi Gem.



33
34
35
36
37
38
# File 'ext/hack/support.rb', line 33

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