use the SMTP library as advertised
[plcapi.git] / setup.py
1 #!/usr/bin/env python3
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 setuptools import setup
10 from glob import glob
11
12 setup(
13     name="plc_api",
14     packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors'],
15     scripts = ['plcsh', 'Server.py'],
16     data_files = [
17         ('',
18             ['planetlab5.sql']),
19         # package for mod_python and mod_wsgi, defer choice to myplc
20         ('apache',
21             ['apache/ModPython.py',
22              'apache/__init__.py',
23              'apache/plc.wsgi']),
24         ('php',
25             ['php/plc_api.php']),
26         ('migrations',
27             ['migrations/README.txt',
28              'migrations/extract-views.py']
29              + glob('migrations/[0-9][0-9][0-9]*')),
30         ('extensions',
31             ['extensions/README.txt']),
32     ]
33 )