Skip to content

Commit cf9aed4

Browse files
author
Rick Kim
committed
fixed setup.py
1 parent cd4ac38 commit cf9aed4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from setuptools import setup
2+
import os
23

34
def readme ():
45
try:
@@ -7,7 +8,10 @@ def readme ():
78
except IOError:
89
return ''
910

10-
data_files = ['cravat_multiuser.css', 'cravat_multiuser.js', 'login.html']
11+
data_files = ['favicon.ico', 'favicon.png', 'logout.png', 'pwchng.png']
12+
for root, dirs, files in os.walk(os.path.join('cravat_multiuser', 'nocache')):
13+
root_files = [os.path.join('..', root, f) for f in files]
14+
data_files.extend(root_files)
1115

1216
setup(
1317
name='open-cravat-multiuser',

0 commit comments

Comments
 (0)