Skip to content

Commit

Permalink
Include readme in setup for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmitz89 committed Nov 20, 2021
1 parent 987d2ec commit 0a269b2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#!/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__':

setup(
name='polyfit',
version='1.0',
description='Constrained polynomial regression',
url='https://github.com/dschmitz89/polyfit/',
author='Daniel Schmitz',
license='MIT',
packages=['polyfit'],
Expand All @@ -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']}
)

0 comments on commit 0a269b2

Please sign in to comment.