Skip to content

Commit b68e90d

Browse files
author
rsteca
committed
fix long_description with readme
1 parent 1100bdc commit b68e90d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
from setuptools import setup, find_packages
4+
from os import path
45

5-
with open('README.md', 'r') as fh:
6-
long_description = fh.read()
6+
7+
this_directory = path.abspath(path.dirname(__file__))
8+
with open(path.join(this_directory, 'README.md')) as f:
9+
long_description = f.read()
710

811
setup(
912
name='monkeylearn',
10-
version='3.2.3',
13+
version='3.2.4',
1114
author='MonkeyLearn',
1215
author_email='hello@monkeylearn.com',
1316
description='Official Python client for the MonkeyLearn API',
1417
long_description=long_description,
1518
long_description_content_type="text/markdown",
1619
url='https://github.com/monkeylearn/monkeylearn-python',
17-
download_url='https://github.com/monkeylearn/monkeylearn-python/tarball/v3.2.3',
20+
download_url='https://github.com/monkeylearn/monkeylearn-python/tarball/v3.2.4',
1821
keywords=['monkeylearn', 'machine learning', 'python'],
1922
classifiers=[
2023
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)