Fix version output when missing.
[plcapi.git] / setup.py
index 7206a9e..f0846cf 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -6,15 +6,21 @@
 # Copyright (C) 2006 The Trustees of Princeton University
 #
 # $Id$
+# $URL$
 #
 
 from distutils.core import setup
 from glob import glob
 
 setup(py_modules = ['ModPython'],
-      packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system'],
+      packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', 'aspects'],
       scripts = ['plcsh', 'Server.py'],
-      data_files = [('', ['planetlab4.sql']),
-                    ('php', ['php/plc_api.php']),
-                    ('migrations', ['migrations/README.txt'] + glob('migrations/[0-9][0-9][0-9]*')),
-                    ])
+      data_files = [
+        ('', ['planetlab5.sql']),
+        ('php', ['php/plc_api.php']),
+        ('migrations', 
+         ['migrations/README.txt',
+          'migrations/extract-views.py'] 
+         + glob('migrations/[0-9][0-9][0-9]*')),
+        ('extensions', ['extensions/README.txt']),
+        ])