Setting tag plcapi-5.4-2
[plcapi.git] / setup.py
1 #!/usr/bin/python
2 #
3 # Setup script for PLCAPI
4 #
5 # Mark Huang <mlhuang@cs.princeton.edu>
6 # Copyright (C) 2006 The Trustees of Princeton University
7 #
8
9 from distutils.core import setup
10 from glob import glob
11
12 setup(packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors'],
13       scripts = ['plcsh', 'Server.py'],
14       data_files = [
15         ('', ['planetlab5.sql']),
16         # package for mod_python and mod_wsgi, defer choice to myplc
17         ('apache', ['apache/ModPython.py', 'apache/__init__.py', 'apache/plc.wsgi']),
18         ('php', ['php/plc_api.php']),
19         ('migrations', 
20          ['migrations/README.txt',
21           'migrations/extract-views.py'] 
22          + glob('migrations/[0-9][0-9][0-9]*')),
23         ('extensions', ['extensions/README.txt']),
24         ])