Skip to content

Commit fcfa4a0

Browse files
Parse readme for pypi description
1 parent ab7198d commit fcfa4a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import setuptools
2+
from os import path
23

3-
with open('README.md', 'r') as fh:
4-
long_description = fh.read()
4+
this_directory = path.abspath(path.dirname(__file__))
5+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
6+
long_description = f.read()
57

68
setuptools.setup(
79
name='abel',
8-
version='0.0.3',
10+
version='0.0.4',
911
author='Hunan Rostomyan',
1012
author_email='hunan131@gmail.com',
1113
description='Machine learning components',

0 commit comments

Comments
 (0)