X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=99b077d728ad1a553f4b66110b90ef0577d84b0a;hb=fd13b08e5ae01e312431803eb1faf38a1589c4b9;hp=a45105bea489d840a4d883241d5e6d61f0f89e68;hpb=557959f0e08f90646409d70f0231186d7a612c34;p=myslice.git diff --git a/setup.py b/setup.py index a45105be..99b077d7 100644 --- a/setup.py +++ b/setup.py @@ -9,12 +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 = [ - ( 'all-static', glob ('all-static/*')), - ( 'all-templates', glob ('all-templates/*')), + ( '/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' ]), ])