X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=4ead8378607f494e7c019602cb7be7b1d53184fa;hb=e70e20fdbececafef842ec7b330fd48db42e614e;hp=04ac71a914e82d35e2c7ec66744e365c036ea63a;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/setup.py b/setup.py index 04ac71a..4ead837 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', 'aspects'], 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']), ])