# INRIA (c) 2013
import os.path
+import shutil
from glob import glob
from distutils.core import setup
packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/__init__.py")) ]
print packages
+# Avoid troubles : clean /usr/share/unfold/
+shutil.rmtree('/usr/share/unfold/')
+
setup(packages = packages,
# xxx somehow this does not seem to show up in debian packaging
scripts = [ 'apache/unfold-init-ssl.sh' ],