From: Thierry Parmentelat Date: Tue, 5 Feb 2013 09:45:25 +0000 (+0100) Subject: review packaging - isolate wsgi in a subdir X-Git-Tag: plcapi-5.2-1~21 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=1be54e32324eeecd228c620bdcc80e84518864a0 review packaging - isolate wsgi in a subdir this needs changes in myplc that are only ongoing --- diff --git a/ModPython.py b/apache/ModPython.py similarity index 100% rename from ModPython.py rename to apache/ModPython.py diff --git a/ModPythonJson.py b/apache/ModPythonJson.py similarity index 100% rename from ModPythonJson.py rename to apache/ModPythonJson.py diff --git a/ModWSGI.wsgi b/apache/plc.wsgi similarity index 100% rename from ModWSGI.wsgi rename to apache/plc.wsgi diff --git a/setup.py b/setup.py index 3291cd5..e52e4b6 100755 --- a/setup.py +++ b/setup.py @@ -9,11 +9,12 @@ from distutils.core import setup from glob import glob -setup(py_modules = ['ModPython'], - packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', 'aspects'], +setup(packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', 'aspects'], scripts = ['plcsh', 'Server.py'], data_files = [ - ('', ['planetlab5.sql' , 'ModWSGI.wsgi' ]), + ('', ['planetlab5.sql']), + # don't package for mod_python anymore + (' apache', ['plc.wsgi']), ('php', ['php/plc_api.php']), ('migrations', ['migrations/README.txt',