diff --git a/includes/config.inc b/includes/config.inc
index 696dd62..366cd81 100644
--- a/includes/config.inc
+++ b/includes/config.inc
@@ -71,12 +71,12 @@ function patterns_requirements($phase) {
 
   switch ($phase) {
     case 'runtime':
-      $path = drupal_get_path('module', 'patterns') . '/spyc/spyc.php';
+      $path = libraries_get_path('spyc') . '/spyc.php';
       
       if (!file_exists($path)) {
         $requirements['spyc'] = array(
           'title'       => t('Spyc library (YAML parser)'),
-          'description' => t('Patterns module requires Spyc library for working with YAML patterns. To enable YAML support, download the !spyc package and copy spyc.php to the spyc directory inside patterns module directory.',
+          'description' => t('Patterns module requires Spyc library for working with YAML patterns. To enable YAML support, download the !spyc package to obtain spyc.php. Create a directory for the library (e.g. sites/all/libraries/spyc/) and place spyc.php there.',
                               array('!spyc' => l(t('spyc'), 'http://code.google.com/p/spyc/', array('absolute' => TRUE)))),
           'severity'    => REQUIREMENT_WARNING,
           'value'       => t('Missing'),
@@ -146,7 +146,7 @@ function patterns_paths() {
  */
 function patterns_file_types() {
   $result = array('xml', 'php');
-  if (file_exists(drupal_get_path('module', 'patterns') . '/spyc/spyc.php')) {
+  if (file_exists(libraries_get_path('spyc') . '/spyc.php')) {
     $result[] = 'yaml';
   }
   return $result;
diff --git a/includes/io.inc b/includes/io.inc
index 91c6d10..55a16d3 100644
--- a/includes/io.inc
+++ b/includes/io.inc
@@ -5,7 +5,7 @@ function patterns_load_yaml($path, $local = TRUE) {
     return FALSE;
   }
 
-  include_once drupal_get_path('module', 'patterns') . '/spyc/spyc.php';
+  include_once libraries_get_path('spyc') . '/spyc.php';
   $pattern = Spyc::YAMLLoad($path);
 
   if (!patterns_validate_pattern($pattern)) {
diff --git a/patterns.info b/patterns.info
index 6e22bcc..acb4fe6 100644
--- a/patterns.info
+++ b/patterns.info
@@ -2,6 +2,7 @@
 name = Patterns
 description = Experimental port from DR6!!! Enables extremely simple adding/removing features to your site with minimal to no configuration
 dependencies[] = token
+dependencies[] = libraries
 core = 7.x
 package = Site Setup
 php = 5.1
diff --git a/spyc/.cvsignore b/spyc/.cvsignore
deleted file mode 100644
index 2200069..0000000
--- a/spyc/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-spyc.php
diff --git a/spyc/README.txt b/spyc/README.txt
deleted file mode 100755
index 022b023..0000000
--- a/spyc/README.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-Spyc - A simple YAML loader/dumper class for PHP
-
-Patterns module requires Spyc library for working with YAML patterns. 
-
-To enable YAML support, download sypc library from
-http://code.google.com/p/spyc/
-and copy spyc.php to this directory.
