diff --git a/setup.py b/setup.py index d5967cc..a19e47e 100755 --- a/setup.py +++ b/setup.py @@ -1,11 +1,9 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -""" -Created on Tue Oct 13 09:27:52 2020 - -@author: tyrion -""" from setuptools import setup +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() if __name__ == '__main__': @@ -13,6 +11,7 @@ name='polyfit', version='1.0', description='Constrained polynomial regression', + url='https://github.com/dschmitz89/polyfit/', author='Daniel Schmitz', license='MIT', packages=['polyfit'], @@ -21,6 +20,8 @@ 'cvxpy', 'scikit-learn' ], + long_description=long_description, + long_description_content_type='text/markdown', include_package_data=True, package_data={'': ['Example_Data.npz']} ) \ No newline at end of file