X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=setup.py;h=d7008a38dc75cedace4e21d576cfbef5bb51978f;hp=2eeb598cfbf131da11f492f2fbee5886cfec9da7;hb=804932e8a431ddbf0d7c56457625457967b48d4c;hpb=2f570c9fab30a41767b20607bb3e01d102f12fec diff --git a/setup.py b/setup.py index 2eeb598c..d7008a38 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Setup script for myslice +# Setup script for myslice+unfold # # Thierry Parmentelat # INRIA (c) 2013 @@ -9,14 +9,19 @@ 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/js', glob ('all-static/js/*')), - ( 'all-static/css', glob ('all-static/css/*')), - ( 'all-static/img', glob ('all-static/img/*')), - ( '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/unfold.conf', 'apache/unfold-ssl.conf', 'apache/unfold.wsgi' ]), + ( '/etc/unfold/trusted_roots', []), + ( '/var/unfold', []), ])