[fix] only include correct files
This commit is contained in:
parent
3f7d5866b6
commit
1949c18051
@ -1,4 +1,2 @@
|
|||||||
recursive-include templates *
|
recursive-include prosopopee/themes *
|
||||||
recursive-include static *
|
|
||||||
recursive-include themes *
|
|
||||||
include requirements.txt
|
include requirements.txt
|
||||||
|
3
setup.py
3
setup.py
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding:Utf-8 -*-
|
# -*- coding:Utf-8 -*-
|
||||||
|
|
||||||
import os
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -30,6 +29,6 @@ setup(name='prosopopee',
|
|||||||
keywords='',
|
keywords='',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={
|
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