File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ include *.h
2
2
include *.hpp
3
3
include *.cpp
4
4
include test/*.sass
5
+ include README.rst
Original file line number Diff line number Diff line change 35
35
36
36
37
37
def readme ():
38
- with open (os .path .join (os .path .dirname (__file__ ), 'README.rst' )) as f :
39
- return f .read ()
38
+ try :
39
+ with open (os .path .join (os .path .dirname (__file__ ), 'README.rst' )) as f :
40
+ return f .read ()
41
+ except IOError :
42
+ pass
40
43
41
44
setup (
42
45
name = 'libsass' ,
@@ -46,7 +49,7 @@ def readme():
46
49
version = version ,
47
50
ext_modules = [sass_extension ],
48
51
py_modules = ['sasstests' ],
49
- package_data = {'' : ['test/*.sass' ]},
52
+ package_data = {'' : ['README.rst' , ' test/*.sass' ]},
50
53
license = 'MIT License' ,
51
54
author = 'Hong Minhee' ,
52
55
author_email = 'minhee' '@' 'dahlia.kr' ,
You can’t perform that action at this time.
0 commit comments