[fix] avoid missing new static folders
This commit is contained in:
parent
ad8c1a5aad
commit
961a83f519
3
setup.py
3
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/*'],
|
||||
},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user