From 961a83f519dbab28468197ee79efd7a0a9741ce3 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 19 Feb 2016 10:00:38 +0100 Subject: [PATCH] [fix] avoid missing new static folders --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dca65dc..cbc682e 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/python # -*- coding:Utf-8 -*- +import os from setuptools import setup try: @@ -29,6 +30,6 @@ setup(name='prosopopee', keywords='', include_package_data=True, package_data={ - 'prosopopee': ['static/css/*', 'static/js/*', 'static/img/*', 'templates/*.html', 'templates/sections/*'], + 'prosopopee': ["static/x/*" for x in os.listdir("./prosopopee/static/")] + ['templates/*.html', 'templates/sections/*'], }, )