Skip to content

Commit 90b6837

Browse files
committed
Include README.rst
1 parent 8c5b183 commit 90b6837

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ include *.h
22
include *.hpp
33
include *.cpp
44
include test/*.sass
5+
include README.rst

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@
3535

3636

3737
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
4043

4144
setup(
4245
name='libsass',
@@ -46,7 +49,7 @@ def readme():
4649
version=version,
4750
ext_modules=[sass_extension],
4851
py_modules=['sasstests'],
49-
package_data={'': ['test/*.sass']},
52+
package_data={'': ['README.rst', 'test/*.sass']},
5053
license='MIT License',
5154
author='Hong Minhee',
5255
author_email='minhee' '@' 'dahlia.kr',

0 commit comments

Comments
 (0)