From: Thierry Parmentelat Date: Tue, 30 Jan 2007 11:48:14 +0000 (+0000) Subject: wildcards handled with glob.glob X-Git-Tag: pycurl-7_13_1~50 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ff3b75018ecbed8a55fd91993de315d0ca22a7cd;p=plcapi.git wildcards handled with glob.glob --- diff --git a/setup.py b/setup.py index 5465bc4..d83636f 100755 --- a/setup.py +++ b/setup.py @@ -5,16 +5,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: setup.py,v 1.6 2007/01/30 11:27:12 thierry Exp $ +# $Id: setup.py,v 1.7 2007/01/30 11:37:02 thierry Exp $ # from distutils.core import setup +from glob import glob setup(py_modules = ['ModPython'], packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system'], scripts = ['plcsh', 'Server.py', 'Test.py'], data_files = [('', ['planetlab4.sql']), ('php', ['php/plc_api.php']), -# ('migrations', ['migrations/*.sql','migrations/README.txt']), - ('migrations', ['migrations/README.txt']), + ('migrations', ['migrations/README.txt'] + glob('migrations/[0-9][0-9][0-9]*.sql')), ])