[Commits] r655 - website

commits at geoext.org commits at geoext.org
Fri May 8 00:41:44 CEST 2009


Author: whit
Date: 2009-05-08 00:41:43 +0200 (Fri, 08 May 2009)
New Revision: 655

Modified:
   website/pavement.py
Log:
pull in examples (works, but paths for resources don't resolve)

Modified: website/pavement.py
===================================================================
--- website/pavement.py	2009-05-07 22:34:53 UTC (rev 654)
+++ website/pavement.py	2009-05-07 22:41:43 UTC (rev 655)
@@ -17,6 +17,7 @@
 from setuptools import find_packages
 import os
 import re
+import shutil
 
 version = '0.0'
 
@@ -155,5 +156,11 @@
     builtdocs = options.builddir / "html"
     builtdocs.move(destdir)
     options.builddir.rmtree()
+    examples = path('src/trunk/geoext/examples')
+    for item in examples.listdir():
+        if item.name != ".svn":
+            if not item.isdir():
+                item.copy(destdir / 'examples')
+            else:
+                item.copytree(destdir / 'examples' / item.name)
 
-



More information about the Commits mailing list