X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=5740de732033d8b7e58acc96964c1a0ddf904b5f;hb=da06561d0f5240a5409474e16824e4e015f31fac;hp=04ac71a914e82d35e2c7ec66744e365c036ea63a;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/setup.py b/setup.py index 04ac71a..5740de7 100755 --- a/setup.py +++ b/setup.py @@ -5,28 +5,20 @@ # Mark Huang # 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', 'PLC/Accessors', 'PLC/Legacy'], +setup(packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors'], scripts = ['plcsh', 'Server.py'], data_files = [ ('', ['planetlab5.sql']), + # package for mod_python and mod_wsgi, defer choice to myplc + ('apache', ['apache/ModPython.py', 'apache/__init__.py', 'apache/plc.wsgi']), ('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' - ]), + ('extensions', ['extensions/README.txt']), ])