[fix] only include correct files

This commit is contained in:
Laurent Peuch 2016-02-23 05:57:08 +01:00
parent 3f7d5866b6
commit 1949c18051
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,2 @@
recursive-include templates *
recursive-include static *
recursive-include themes *
recursive-include prosopopee/themes *
include requirements.txt

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
# -*- coding:Utf-8 -*-
import os
from setuptools import setup
try:
@ -30,6 +29,6 @@ setup(name='prosopopee',
keywords='',
include_package_data=True,
package_data={
'prosopopee': ["themes/*/*/*/*"] + ["static/%s/*" % x for x in os.listdir("./prosopopee/static/")] + ['templates/*.html', 'templates/sections/*'],
'prosopopee': ["themes/*/*", "themes/*/*/*", "themes/*/*/*/*"],
},
)