in debug mode print out stack regardless of the exception
[myslice.git] / setup.py
1 #!/usr/bin/python
2 #
3 # Setup script for myslice
4 #
5 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
6 # INRIA (c) 2013
7
8 import os.path
9 from glob import glob
10 from distutils.core import setup
11
12 # we don't have a final list so let's keep it simple for now
13 packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/__init__.py")) ]
14
15 setup(packages = packages,
16       scripts = [ 'apache/unfold-init-ssl.sh' ],
17       data_files = [ 
18         ( 'static/js', glob ('static/js/*')),
19         ( 'static/css', glob ('static/css/*')),
20         ( 'static/img', glob ('static/img/*')),
21         ( 'static/fonts', glob ('static/fonts/*')),
22         ( 'templates', glob ('templates/*')),
23         ( 'apache', [ 'apache/myslice.conf' ]),
24         ])