#!/usr/bin/python
#
-# Setup script for myslice
+# Setup script for myslice+unfold
#
# Thierry Parmentelat <thierry.parmentelat@inria.fr>
# INRIA (c) 2013
packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/__init__.py")) ]
setup(packages = packages,
- scripts = [],
+ # xxx somehow this does not seem to show up in debian packaging
+ scripts = [ 'apache/unfold-init-ssl.sh' ],
data_files = [
- ( 'all-static/js', glob ('all-static/js/*')),
- ( 'all-static/css', glob ('all-static/css/*')),
- ( 'all-static/img', glob ('all-static/img/*')),
- ( 'all-templates', glob ('all-templates/*')),
- ( 'apache', [ 'apache/myslice.conf', 'apache/myslice.wsgi' ]),
+ ( '/usr/share/unfold/static/js', glob ('static/js/*')),
+ ( '/usr/share/unfold/static/css', glob ('static/css/*')),
+ ( '/usr/share/unfold/static/img', glob ('static/img/*')),
+ ( '/usr/share/unfold/static/fonts', glob ('static/fonts/*')),
+ ( '/usr/share/unfold/templates', glob ('templates/*')),
+ ( 'apache', [ 'apache/unfold.conf', 'apache/unfold.wsgi' ]),
])