diff --git a/setup.py b/setup.py index 6628039..a159732 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,11 @@ from setuptools import find_packages, setup +# Read the contents of README file. +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup(name='pylift', version='0.1.3', description='Python implementation of uplift modeling.', @@ -14,5 +20,7 @@ 'scikit-optimize', 'xgboost' ], + long_description=long_description, + long_description_content_type='text/markdown', packages=find_packages(), zip_safe=False)