X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=setup.py;h=d7008a38dc75cedace4e21d576cfbef5bb51978f;hp=9bfc26e2d15963a3aee97741639480ecca03c1df;hb=804932e8a431ddbf0d7c56457625457967b48d4c;hpb=9a62ec0dc3ee3e859f3563da29d9c838a658b140 diff --git a/setup.py b/setup.py index 9bfc26e2..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 @@ -13,11 +13,15 @@ from distutils.core import setup 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 = [ - ( 'static/js', glob ('static/js/*')), - ( 'static/css', glob ('static/css/*')), - ( 'static/img', glob ('static/img/*')), - ( 'templates', glob ('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-ssl.conf', 'apache/unfold.wsgi' ]), + ( '/etc/unfold/trusted_roots', []), + ( '/var/unfold', []), ])