[fix] pip git+ does shit with static files
This commit is contained in:
parent
3bdbcfc4ff
commit
34f8ff4bab
3
setup.py
3
setup.py
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from operator import add
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from pypandoc import convert
|
from pypandoc import convert
|
||||||
@ -31,6 +30,6 @@ setup(name='prosopopee',
|
|||||||
keywords='',
|
keywords='',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={
|
package_data={
|
||||||
'prosopopee': reduce(add, [[x[0].replace("prosopopee/", "", 1) + y for y in x[2]] for x in os.walk("prosopopee/themes/")], []),
|
'prosopopee': ["%s/*" % x[0] for x in os.walk("prosopopee/themes/") if x[2]],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user