[fix] avoid missing new static folders

This commit is contained in:
Laurent Peuch 2016-02-19 10:00:38 +01:00
parent ad8c1a5aad
commit 961a83f519

View File

@ -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/*'],
},
)