Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git] / setup.py
index 249da4d..3f6ba5c 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -5,12 +5,16 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: setup.py,v 1.1 2006/10/27 18:54:21 mlhuang Exp $
+# $Id: setup.py,v 1.10 2007/10/01 20:51:46 tmack Exp $
 #
 
 from distutils.core import setup
+from glob import glob
 
 setup(py_modules = ['ModPython'],
-      packages = ['PLC', 'PLC/Methods'],
-      scripts = ['Shell.py', 'Server.py', 'Test.py'],
-      data_files = [('php', ['php/plc_api.php'])])
+      packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system'],
+      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]*')),
+                    ])