X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=04ac71a914e82d35e2c7ec66744e365c036ea63a;hb=ed669175e268b091a288c7cd99feb102bcf19bad;hp=95dc5a4db3ae0cd4e7f4facad1e6c51e2b421b78;hpb=ae114f828e181c0e697150413700bfe34102398d;p=plcapi.git diff --git a/setup.py b/setup.py index 95dc5a4..04ac71a 100755 --- a/setup.py +++ b/setup.py @@ -5,13 +5,28 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: setup.py,v 1.3 2006/10/27 19:56:55 mlhuang Exp $ +# $Id$ +# $URL$ # from distutils.core import setup +from glob import glob setup(py_modules = ['ModPython'], - packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system'], - scripts = ['Shell.py', 'Server.py', 'Test.py'], - data_files = [('', ['planetlab4.sql']), - ('php', ['php/plc_api.php'])]) + packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', 'PLC/Legacy'], + scripts = ['plcsh', 'Server.py'], + 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]*')), + ('migrations/v42-to-v43', + ['migrations/v42-to-v43/migrate.sh', + 'migrations/v42-to-v43/migrate.sed', + 'migrations/v42-to-v43/migrate.sql', + 'migrations/v42-to-v43/parse-site-nodegroups.py', + 'migrations/v42-to-v43/site-nodegroups.def' + ]), + ])