X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=49ea199f791dde41394f266781d09ee137394bfc;hb=1c8c58999385a6ffe7b375acecdeac15cd3ccbab;hp=f192d80ece9f7e71044057335079dac52fb0b777;hpb=8c429c67a509f4817b5c92824b4c6aee9cd304d6;p=plcapi.git diff --git a/setup.py b/setup.py index f192d80..49ea199 100755 --- a/setup.py +++ b/setup.py @@ -12,9 +12,20 @@ from distutils.core import setup from glob import glob setup(py_modules = ['ModPython'], - packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Shortcuts', 'PLC/Legacy'], + 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'] + 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]*')), + ('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' + ]), + ])