X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=99b077d728ad1a553f4b66110b90ef0577d84b0a;hb=cb1243ee778aa1169b67e44a334186e23fc503df;hp=cb328f5e9ec1ef5ae07edbf1744e675f8b6cac4e;hpb=9935cba5a5cce263608115be8417619500686957;p=myslice.git diff --git a/setup.py b/setup.py index cb328f5e..99b077d7 100644 --- a/setup.py +++ b/setup.py @@ -9,11 +9,17 @@ import os.path from glob import glob from distutils.core import setup -# we don't have a final list os let's keep it simple for now +# we don't have a final list so let's keep it simple for now 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 = [ -# ( dir [ list of paths from toplevel] ) , + ( '/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/myslice.conf' ]), ])