[fix] only include correct files
This commit is contained in:
parent
3f7d5866b6
commit
1949c18051
@ -1,4 +1,2 @@
|
||||
recursive-include templates *
|
||||
recursive-include static *
|
||||
recursive-include themes *
|
||||
recursive-include prosopopee/themes *
|
||||
include requirements.txt
|
||||
|
3
setup.py
3
setup.py
@ -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/*/*/*/*"],
|
||||
},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user